POST api/Customer

Request Information

URI Parameters

None.

Body Parameters

CustomerCreateModel
NameDescriptionTypeAdditional information
FullName

string

None.

IdentificationNumber

string

None.

Code

string

None.

CustomerTypeId

globally unique identifier

None.

PhoneNumber

string

None.

DetailAddress

string

None.

Email

string

None.

Status

integer

None.

State

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FullName": "sample string 1",
  "IdentificationNumber": "sample string 2",
  "Code": "sample string 3",
  "CustomerTypeId": "73b597a8-24a6-4251-a7bb-8369fe552b3c",
  "PhoneNumber": "sample string 5",
  "DetailAddress": "sample string 6",
  "Email": "sample string 7",
  "Status": 8,
  "State": 9
}

application/xml, text/xml

Sample:
<CustomerCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Vpm.CustomerModels.EditModels">
  <Code xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Vpm.CustomerModels.ShareModels">sample string 3</Code>
  <CustomerTypeId xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Vpm.CustomerModels.ShareModels">73b597a8-24a6-4251-a7bb-8369fe552b3c</CustomerTypeId>
  <DetailAddress xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Vpm.CustomerModels.ShareModels">sample string 6</DetailAddress>
  <Email xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Vpm.CustomerModels.ShareModels">sample string 7</Email>
  <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Vpm.CustomerModels.ShareModels">sample string 5</PhoneNumber>
  <State xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Vpm.CustomerModels.ShareModels">9</State>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Vpm.CustomerModels.ShareModels">8</Status>
  <FullName>sample string 1</FullName>
  <IdentificationNumber>sample string 2</IdentificationNumber>
</CustomerCreateModel>

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.