POST api/Territory
Request Information
URI Parameters
None.
Body Parameters
TerritoryData| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Identifier | string |
None. |
|
| Name | string |
None. |
|
| Updated | date |
None. |
|
| Description | string |
None. |
|
| InvoicePrefix | string |
None. |
|
| InvoiceSerialNumber | integer |
None. |
|
| PriceOveride | integer |
None. |
|
| IsDeleted | integer |
None. |
|
| IsShow | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "35f13991-1910-4454-b8f2-14dd1cd837db",
"Identifier": "sample string 1",
"Name": "sample string 2",
"Updated": "2025-10-26T03:15:24.7476645-04:00",
"Description": "sample string 4",
"InvoicePrefix": "sample string 5",
"InvoiceSerialNumber": 6,
"PriceOveride": 1,
"IsDeleted": 1,
"IsShow": 1
}
application/xml, text/xml
Sample:
<TerritoryData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IosWebApi.Models"> <Description>sample string 4</Description> <Id>35f13991-1910-4454-b8f2-14dd1cd837db</Id> <Identifier>sample string 1</Identifier> <InvoicePrefix>sample string 5</InvoicePrefix> <InvoiceSerialNumber>6</InvoiceSerialNumber> <IsDeleted>1</IsDeleted> <IsShow>1</IsShow> <Name>sample string 2</Name> <PriceOveride>1</PriceOveride> <Updated>2025-10-26T03:15:24.7476645-04:00</Updated> </TerritoryData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |