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": "64d15800-baee-4230-a802-6a023c9afaac",
  "dear": "sample string 4",
  "email": "sample string 5",
  "operating_location_id": "8a717ece-0ea2-4c8a-9494-5f4decef6e02",
  "source_id": "8c03bd3a-6ea0-4199-9044-7c81ce1d6c5a",
  "source_origin": "sample string 6",
  "city": "sample string 7",
  "state": "sample string 8",
  "country": "sample string 9",
  "id": "0a07daaf-b0fb-4f0b-aea2-8e561a9612de",
  "subscription_id": "2eda9cc5-6de2-4dfa-b1cf-2cdec72636d4",
  "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">0a07daaf-b0fb-4f0b-aea2-8e561a9612de</Id>
  <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">2eda9cc5-6de2-4dfa-b1cf-2cdec72636d4</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>64d15800-baee-4230-a802-6a023c9afaac</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>8a717ece-0ea2-4c8a-9494-5f4decef6e02</OperatingLocationId>
  <SourceId>8c03bd3a-6ea0-4199-9044-7c81ce1d6c5a</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.