POST api/customers
Create a new customer
Request Information
URI Parameters
None.
Body Parameters
CustomerDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required Max length: 50 |
Request Formats
application/json, text/json
Sample:
{
"Id": "d971d305-7491-4b90-b8ec-1c1bf8199736",
"Name": "sample string 2"
}
Response Information
Resource Description
CustomerDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required Max length: 50 |
Response Formats
application/json, text/json
Sample:
{
"Id": "0c328462-26c2-4062-a6e6-1dc329defabf",
"Name": "sample string 2"
}