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": "baf1f22d-e3f6-43bd-8a32-ebe936fdc6d0",
  "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": "d4423fe6-9bcf-4f8e-a813-0cbddd32ddbd",
  "Name": "sample string 2"
}