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": "74c14c26-472e-45c8-98c9-b80d9fe0e3dc",
"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": "5c005e73-11ed-4028-8a61-6aa7f91a609a",
"Name": "sample string 2"
}