POST api/customers

Create a new customer

Request Information

URI Parameters

None.

Body Parameters

CustomerDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

Required

Max length: 50

Request Formats

application/json, text/json

Sample:
{
  "Id": "8b139837-c034-4aad-8981-db49d5e1e220",
  "Name": "sample string 2"
}

Response Information

Resource Description

CustomerDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

Required

Max length: 50

Response Formats

application/json, text/json

Sample:
{
  "Id": "b6f7251c-deca-4f25-ab18-c9c1a51dae85",
  "Name": "sample string 2"
}