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": "26e3ef53-9653-4dfc-bce7-6ed0c64f1069",
"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": "b1efb871-808b-4029-a84e-27b3b2986809",
"Name": "sample string 2"
}