| GET,OPTIONS | /v1/pm/catalog |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Statuses | form | List<PmCatalogItem> | No | |
| Crew | form | List<PmCatalogItem> | No | |
| Crews | form | List<PmCatalogCrew> | No | |
| Equipment | form | List<PmCatalogItem> | No | |
| Materials | form | List<PmCatalogItem> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Name | form | string | No | |
| Amount | form | double | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Name | form | string | No | |
| MemberIds | form | List<int> | 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 /v1/pm/catalog HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Statuses":[{"Id":0,"Name":"String","Amount":0}],"Crew":[{"Id":0,"Name":"String","Amount":0}],"Crews":[{"Id":0,"Name":"String","MemberIds":[0]}],"Equipment":[{"Id":0,"Name":"String","Amount":0}],"Materials":[{"Id":0,"Name":"String","Amount":0}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}