| POST,OPTIONS | /v1/safety/toolbox |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Topic | body | string | No | |
| Presenter | body | string | No | |
| Notes | body | string | No | |
| TalkDate | body | DateTime? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Talk | form | ToolboxTalkToday | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ToolboxTalkID | form | int | No | |
| Topic | form | string | No | |
| Presenter | form | string | No | |
| AckCount | form | int | No | |
| CrewTotal | form | int | No | |
| Roster | form | List<ToolboxRosterMember> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ContactID | form | int | No | |
| ContactName | form | string | No | |
| HasAcked | form | bool | 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/safety/toolbox HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Topic":"String","Presenter":"String","Notes":"String","TalkDate":"0001-01-01T00:00:00.0000000"}
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"}},"Talk":{"ToolboxTalkID":0,"Topic":"String","Presenter":"String","AckCount":0,"CrewTotal":0,"Roster":[{"ContactID":0,"ContactName":"String","HasAcked":false}]}}