-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSiteApi.java
More file actions
57 lines (49 loc) · 2.19 KB
/
Copy pathSiteApi.java
File metadata and controls
57 lines (49 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package fr.redfroggy.ilg.client.site;
import fr.redfroggy.ilg.client.IlgApi;
import org.springframework.http.ResponseEntity;
public interface SiteApi extends IlgApi {
/**
* GET /companies/{country}/{id}/sites : Return the site list for a company
* This service is @Paginable, @Filterable, @Sortable and @Searchable.
* <p>
* Warn, @Filterable ilg api not working
*
* @param country Country Code in ISO 3166-2 (required)
* @param id Unique identifier representing a specific company (required)
* @param requestParam requestParam @Paginable, @Sortable and @Searchable
* @return (status code 200)
* or Bad Request (status code 400)
* or Authentication Failure: Expired Token or Invalid Token (status code 401)
* or Forbidden (status code 403)
* or Resource not found (status code 404)
*/
ResponseEntity<SitesProjection> getSites(String country, String id, SiteRequest requestParam);
/**
* GET /companies/{country}/{id}/sites : Return the site list for a company
*
* @param country Country Code in ISO 3166-2 (required)
* @param id Unique identifier representing a specific company (required)
* @return (status code 200)
* or Bad Request (status code 400)
* or Authentication Failure: Expired Token or Invalid Token (status code 401)
* or Forbidden (status code 403)
* or Resource not found (status code 404)
*/
ResponseEntity<SitesProjection> getSites(String country, String id);
/**
* GET /companies/{country}/{id}/sites/{sid} : Return a specific site
*
* @param country Country Code in ISO 3166-2 (required)
* @param id Unique identifier representing a specific company (required)
* @param sid Unique identifier representing a specific site of the company (required)
* @return (status code 200)
* or Bad Request (status code 400)
* or Authentication Failure: Expired Token or Invalid Token (status code 401)
* or Forbidden (status code 403)
* or Resource not found (status code 404)
*/
ResponseEntity<SiteProjection> getSite(
String country,
String id,
String sid);
}