POST api/Route/Add
Request Information
URI Parameters
None.
Body Parameters
RouteAddDto| Name | Description | Type | Additional information |
|---|---|---|---|
| WebSiteID | globally unique identifier |
None. |
|
| RegionID | globally unique identifier |
None. |
|
| Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"webSiteID": "c4445236-dee4-4f1c-9fb3-20967659e338",
"regionID": "062aca43-b190-4b02-ac52-cc74bd71525f",
"name": "sample string 1"
}
application/xml, text/xml
Sample:
<RouteAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <Name>sample string 1</Name> <RegionID>062aca43-b190-4b02-ac52-cc74bd71525f</RegionID> <WebSiteID>c4445236-dee4-4f1c-9fb3-20967659e338</WebSiteID> </RouteAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"WebSiteID":"c4445236-dee4-4f1c-9fb3-20967659e338","RegionID":"062aca43-b190-4b02-ac52-cc74bd71525f","Name":"sample string 1"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.