POST api/County/Add
Request Information
URI Parameters
None.
Body Parameters
CountyAddDtoName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
Name | string |
None. |
|
CityID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "code": "sample string 1", "name": "sample string 2", "cityID": "ad5c7962-1b7c-453e-af84-2d2e9e1e250a" }
application/xml, text/xml
Sample:
<CountyAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CityID>ad5c7962-1b7c-453e-af84-2d2e9e1e250a</CityID> <Code>sample string 1</Code> <Name>sample string 2</Name> </CountyAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"code":"sample string 1","name":"sample string 2","cityID":"ad5c7962-1b7c-453e-af84-2d2e9e1e250a"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.