POST api/Operators?fkAgency={fkAgency}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
fkAgency | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AgenciesRatesOfficialName | Description | Type | Additional information |
---|---|---|---|
pkAgencyRate | integer |
None. |
|
fkAgency | integer |
None. |
|
fkShuttleServiceType | integer |
None. |
|
fkZoneFrom | integer |
None. |
|
fkZoneTo | integer |
None. |
|
MinPax | integer |
None. |
|
MaxPax | integer |
None. |
|
Price | decimal number |
None. |
|
TypeRate | integer |
None. |
|
Active | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "pkAgencyRate": 1, "fkAgency": 2, "fkShuttleServiceType": 3, "fkZoneFrom": 4, "fkZoneTo": 5, "MinPax": 6, "MaxPax": 7, "Price": 8.0, "TypeRate": 9, "Active": true }, { "pkAgencyRate": 1, "fkAgency": 2, "fkShuttleServiceType": 3, "fkZoneFrom": 4, "fkZoneTo": 5, "MinPax": 6, "MaxPax": 7, "Price": 8.0, "TypeRate": 9, "Active": true } ]
application/xml, text/xml
Sample:
<ArrayOfAgenciesRatesOfficial xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GaribaldiApi.Models"> <AgenciesRatesOfficial> <Active>true</Active> <MaxPax>7</MaxPax> <MinPax>6</MinPax> <Price>8</Price> <TypeRate>9</TypeRate> <fkAgency>2</fkAgency> <fkShuttleServiceType>3</fkShuttleServiceType> <fkZoneFrom>4</fkZoneFrom> <fkZoneTo>5</fkZoneTo> <pkAgencyRate>1</pkAgencyRate> </AgenciesRatesOfficial> <AgenciesRatesOfficial> <Active>true</Active> <MaxPax>7</MaxPax> <MinPax>6</MinPax> <Price>8</Price> <TypeRate>9</TypeRate> <fkAgency>2</fkAgency> <fkShuttleServiceType>3</fkShuttleServiceType> <fkZoneFrom>4</fkZoneFrom> <fkZoneTo>5</fkZoneTo> <pkAgencyRate>1</pkAgencyRate> </AgenciesRatesOfficial> </ArrayOfAgenciesRatesOfficial>