| GET | /EventExtraCost/List |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventId | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Items | form | List<EventExtraCost> | No | |
| StatusCode | form | int | No | |
| Message | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| EventId | form | int | No | |
| Amount | form | int | No | |
| Reason | form | string | No | |
| CreatedAt | form | DateTime | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /EventExtraCost/List HTTP/1.1 Host: stubbur-app.azurewebsites.net Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"items":[{"id":0,"eventId":0,"amount":0,"reason":"String","createdAt":"0001-01-01T00:00:00.0000000"}],"statusCode":0,"message":"String"}