POST shows/{showId}/representatives
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| showId | integer |
Required |
Body Parameters
CustomerRepresentativeCreateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| EmailAddress | string |
Required Matching regular expression pattern: ^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$ |
|
| FirstName | string |
Required |
|
| LastName | string |
Required |
|
| ReceiveEmail | boolean |
None. |
|
| ShowId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmailAddress": "sample string 1",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"ReceiveEmail": true,
"ShowId": 5
}
Response Information
Resource Description
CustomerRepresentativeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ShowId | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| EmailAddress | string |
None. |
|
| ReceiveEmail | boolean |
None. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"Id": 1,
"ShowId": 2,
"FirstName": "sample string 3",
"LastName": "sample string 4",
"EmailAddress": "sample string 5",
"ReceiveEmail": true
}