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": "80c52b4f-3c1b-4f85-adc6-274ee2de6f53",
"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": "460bc521-099e-4a90-9484-8b73a3f41f09",
"Name": "sample string 2"
}