POST api/accounts
Request Information
URI Parameters
None.
Body Parameters
AccountCreateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| auto_account_id | boolean |
None. |
|
| account_id | string |
String length: inclusive between 0 and 25 |
|
| account_name | string |
Required String length: inclusive between 0 and 255 |
|
| account_type_id | globally unique identifier |
None. |
|
| dear | string |
String length: inclusive between 0 and 255 |
|
| string |
Required String length: inclusive between 0 and 255 |
||
| operating_location_id | globally unique identifier |
None. |
|
| source_id | globally unique identifier |
Required |
|
| source_origin | string |
String length: inclusive between 0 and 255 |
|
| city | string |
String length: inclusive between 0 and 75 |
|
| state | string |
String length: inclusive between 0 and 75 |
|
| country | string |
String length: inclusive between 0 and 75 |
|
| id | globally unique identifier |
None. |
|
| subscription_id | globally unique identifier |
None. |
|
| ts | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"auto_account_id": true,
"account_id": "sample string 2",
"account_name": "sample string 3",
"account_type_id": "e8f42f9a-2687-4adf-8a9c-2967d51320b4",
"dear": "sample string 4",
"email": "sample string 5",
"operating_location_id": "72663deb-b67d-440b-b6e5-0b9506e6130a",
"source_id": "e0756191-f4c5-4007-828b-02d3ab876f24",
"source_origin": "sample string 6",
"city": "sample string 7",
"state": "sample string 8",
"country": "sample string 9",
"id": "cd943142-e210-4175-9fe4-7fade9192171",
"subscription_id": "a3d20ca9-9ba3-4c57-9af0-f78f06af8af4",
"ts": "QEA="
}
application/xml, text/xml
Sample:
<AccountCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models"> <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">cd943142-e210-4175-9fe4-7fade9192171</Id> <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">a3d20ca9-9ba3-4c57-9af0-f78f06af8af4</SubscriptionId> <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts> <AccountId>sample string 2</AccountId> <AccountName>sample string 3</AccountName> <AccountTypeId>e8f42f9a-2687-4adf-8a9c-2967d51320b4</AccountTypeId> <AutoAccountId>true</AutoAccountId> <City>sample string 7</City> <Country>sample string 9</Country> <Dear>sample string 4</Dear> <Email>sample string 5</Email> <OperatingLocationId>72663deb-b67d-440b-b6e5-0b9506e6130a</OperatingLocationId> <SourceId>e0756191-f4c5-4007-828b-02d3ab876f24</SourceId> <SourceOrigin>sample string 6</SourceOrigin> <State>sample string 8</State> </AccountCreateModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.