POST api/Customer/AddCustomerByTMID

Request Information

URI Parameters

None.

Body Parameters

AddCustomerByTMCommandDto
NameDescriptionTypeAdditional information
AccountId

globally unique identifier

None.

Username

string

None.

Email

string

None.

TMID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": "90a4dbae-31a2-49eb-af28-2a48a79756d5",
  "Username": "sample string 2",
  "Email": "sample string 3",
  "TMID": "sample string 4"
}

application/xml, text/xml

Sample:
<AddCustomerByTMCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerModule.Model">
  <AccountId>90a4dbae-31a2-49eb-af28-2a48a79756d5</AccountId>
  <Email>sample string 3</Email>
  <TMID>sample string 4</TMID>
  <Username>sample string 2</Username>
</AddCustomerByTMCommandDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddCustomerByTMCommandDto'.

Response Information

Resource Description

ResponseDto
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

CustomerId

globally unique identifier

None.

Token

string

None.

Message

string

None.

ResponseData

string

None.

NovaAPIId

string

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "UserId": "2e72722c-74f4-4a24-a9af-9fb792317d49",
  "CustomerId": "dfb31309-9628-44b3-a36a-459503b28911",
  "Token": "sample string 3",
  "Message": "sample string 4",
  "ResponseData": "sample string 5",
  "NovaAPIId": "sample string 6",
  "IsSuccess": true
}

application/xml, text/xml

Sample:
<ResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerModule.Model">
  <CustomerId>dfb31309-9628-44b3-a36a-459503b28911</CustomerId>
  <IsSuccess>true</IsSuccess>
  <Message>sample string 4</Message>
  <NovaAPIId>sample string 6</NovaAPIId>
  <ResponseData>sample string 5</ResponseData>
  <Token>sample string 3</Token>
  <UserId>2e72722c-74f4-4a24-a9af-9fb792317d49</UserId>
</ResponseDto>