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": "fc09298c-6030-4bc6-bc54-66a440dda367" }
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>fc09298c-6030-4bc6-bc54-66a440dda367</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":"fc09298c-6030-4bc6-bc54-66a440dda367"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.