POST api/Stage
Request Information
URI Parameters
None.
Body Parameters
StageName | Description | Type | Additional information |
---|---|---|---|
StageName | string |
None. |
|
ID | integer |
None. |
|
RouteId | integer |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "StageName": "sample string 1", "ID": 2, "RouteId": 3, "Latitude": 1.0, "Longitude": 1.0 }
application/xml, text/xml
Sample:
<Stage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BookingSystem.Models"> <ID>2</ID> <Latitude>1</Latitude> <Longitude>1</Longitude> <RouteId>3</RouteId> <StageName>sample string 1</StageName> </Stage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />