| Requires any of the roles: | Agent, Administrator |
| POST,OPTIONS | /v1/Rfp/Availability |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResourceType | body | string | No | |
| Label | body | string | No | |
| EquipmentName | body | string | No | |
| RolesCsv | body | string | No | |
| InternalRate | body | decimal? | No | |
| RentalRate | body | decimal? | No | |
| PremiumPerHour | body | decimal? | No | |
| AvailableFrom | body | DateTime? | No | |
| FreedFromProjectLabel | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Rows | form | List<AvailabilityRowView> | No | |
| EquipmentNames | form | List<string> | No | |
| CrewRoles | form | List<string> | No | |
| Summary | form | AvailabilityRefreshSummary | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResourceAvailabilityID | form | int | No | |
| ResourceType | form | string | No | |
| Label | form | string | No | |
| EquipmentName | form | string | No | |
| RolesCsv | form | string | No | |
| InternalRate | form | decimal? | No | |
| RentalRate | form | decimal? | No | |
| PremiumPerHour | form | decimal? | No | |
| AvailableFrom | form | DateTime | No | |
| FreedFromProjectLabel | form | string | No | |
| Source | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Derived | form | int | No | |
| DeactivatedStale | form | int | No | |
| SkippedManualPrecedence | form | int | No | |
| SkippedNoRentalSource | form | int | No | |
| SkippedNoDayRate | form | int | No | |
| Notes | form | List<string> | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/Rfp/Availability HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"ResourceType":"String","Label":"String","EquipmentName":"String","RolesCsv":"String","InternalRate":0,"RentalRate":0,"PremiumPerHour":0,"AvailableFrom":"0001-01-01T00:00:00.0000000","FreedFromProjectLabel":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Rows":[{"ResourceAvailabilityID":0,"ResourceType":"String","Label":"String","EquipmentName":"String","RolesCsv":"String","InternalRate":0,"RentalRate":0,"PremiumPerHour":0,"AvailableFrom":"0001-01-01T00:00:00.0000000","FreedFromProjectLabel":"String","Source":"String"}],"EquipmentNames":["String"],"CrewRoles":["String"],"Summary":{"Derived":0,"DeactivatedStale":0,"SkippedManualPrecedence":0,"SkippedNoRentalSource":0,"SkippedNoDayRate":0,"Notes":["String"]}}