POST api/accounts/create

Request Information

URI Parameters

None.

Body Parameters

AccountCreateModel
NameDescriptionTypeAdditional 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

email

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": "9270937c-c3f6-4b0e-8a2d-e582bf0ee769",
  "dear": "sample string 4",
  "email": "sample string 5",
  "operating_location_id": "312e7eda-ac0f-47a6-8f61-2ec2efd2214c",
  "source_id": "3c5baa2d-bebd-49e4-8723-4a13e83b57a7",
  "source_origin": "sample string 6",
  "city": "sample string 7",
  "state": "sample string 8",
  "country": "sample string 9",
  "id": "061fcba9-56a1-4814-bb9b-2a4351c60ace",
  "subscription_id": "2b4a6a20-7b23-4fb6-a9ed-3dc263dd6a23",
  "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">061fcba9-56a1-4814-bb9b-2a4351c60ace</Id>
  <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">2b4a6a20-7b23-4fb6-a9ed-3dc263dd6a23</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>9270937c-c3f6-4b0e-8a2d-e582bf0ee769</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>312e7eda-ac0f-47a6-8f61-2ec2efd2214c</OperatingLocationId>
  <SourceId>3c5baa2d-bebd-49e4-8723-4a13e83b57a7</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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.