POST api/Company
Request Information
URI Parameters
None.
Body Parameters
Dictionary of string [key] and Object [value]Request Formats
application/json, text/json
Sample:
{
"sample string 1": {},
"sample string 3": {}
}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<KeyValueOfstringanyType>
<Key>sample string 1</Key>
<Value />
</KeyValueOfstringanyType>
<KeyValueOfstringanyType>
<Key>sample string 3</Key>
<Value />
</KeyValueOfstringanyType>
</ArrayOfKeyValueOfstringanyType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Company| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyPrefix | string |
None. |
|
| CompanyName | string |
None. |
|
| UrlHostName | string |
None. |
|
| StartWith | integer |
None. |
|
| IncrementBy | integer |
None. |
|
| MinimumValue | integer |
None. |
|
| MaximumValue | integer |
None. |
|
| Cycle | boolean |
None. |
|
| Scheme | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"CompanyPrefix": "sample string 1",
"CompanyName": "sample string 2",
"UrlHostName": "sample string 3",
"StartWith": 4,
"IncrementBy": 5,
"MinimumValue": 6,
"MaximumValue": 7,
"Cycle": true,
"Scheme": "sample string 9"
}
application/xml, text/xml
Sample:
<Company xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nppg.Data.Models"> <CompanyName>sample string 2</CompanyName> <CompanyPrefix>sample string 1</CompanyPrefix> <Cycle>true</Cycle> <IncrementBy>5</IncrementBy> <MaximumValue>7</MaximumValue> <MetaDataJson>sample string 10</MetaDataJson> <MinimumValue>6</MinimumValue> <Scheme>sample string 9</Scheme> <StartWith>4</StartWith> <UrlHostName>sample string 3</UrlHostName> </Company>