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": "964ef120-a2bd-455a-8295-9268cf34ca92",
"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": "7b7da842-bb3f-4c5d-b562-513837fdef8b",
"Name": "sample string 2"
}