POST api/Customer

Request Information

URI Parameters

None.

Body Parameters

CustomerModel
NameDescriptionTypeAdditional information
CustomerId

integer

None.

CompanyAccountId

integer

None.

CustomerName

string

None.

ActiveStatus

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "CompanyAccountId": 2,
  "CustomerName": "sample string 3",
  "ActiveStatus": true
}

application/xml, text/xml

Sample:
<CustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cuewel.Business.Model">
  <ActiveStatus>true</ActiveStatus>
  <CompanyAccountId>2</CompanyAccountId>
  <CustomerId>1</CustomerId>
  <CustomerName>sample string 3</CustomerName>
</CustomerModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.