GET facilities/{id}/surfaces
Return surfaces by facility id
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | facility id |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "id": "sample string 1", "name": "sample string 2", "facility": { "id": "sample string 1", "name": "sample string 2" } }, { "id": "sample string 1", "name": "sample string 2", "facility": { "id": "sample string 1", "name": "sample string 2" } }, { "id": "sample string 1", "name": "sample string 2", "facility": { "id": "sample string 1", "name": "sample string 2" } } ]
application/xml, text/xml
Sample:
<ArrayOfSurfaceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <SurfaceDto> <facility> <id>sample string 1</id> <name>sample string 2</name> </facility> <id>sample string 1</id> <name>sample string 2</name> </SurfaceDto> <SurfaceDto> <facility> <id>sample string 1</id> <name>sample string 2</name> </facility> <id>sample string 1</id> <name>sample string 2</name> </SurfaceDto> <SurfaceDto> <facility> <id>sample string 1</id> <name>sample string 2</name> </facility> <id>sample string 1</id> <name>sample string 2</name> </SurfaceDto> </ArrayOfSurfaceDto>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].facility.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].facility.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].facility.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].facility.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].facility.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].facility.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e--