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": "4ac0619f-9e0b-4985-a49a-3713dbb3ccc1",
"dear": "sample string 4",
"email": "sample string 5",
"operating_location_id": "68156a15-45dc-4e16-b85d-b8f3e11db2f8",
"source_id": "2288c671-e8a3-403b-9825-d2959c10a41f",
"source_origin": "sample string 6",
"city": "sample string 7",
"state": "sample string 8",
"country": "sample string 9",
"id": "35a93c32-ff5e-4aed-857e-bcccf18d55fe",
"subscription_id": "c7e9a2ea-3b2d-4b71-a441-d654b17f1aec",
"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">35a93c32-ff5e-4aed-857e-bcccf18d55fe</Id> <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">c7e9a2ea-3b2d-4b71-a441-d654b17f1aec</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>4ac0619f-9e0b-4985-a49a-3713dbb3ccc1</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>68156a15-45dc-4e16-b85d-b8f3e11db2f8</OperatingLocationId> <SourceId>2288c671-e8a3-403b-9825-d2959c10a41f</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.