| POST | /v1/coverage/swap/{Token}/respond |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Token | path | string | No | |
| Action | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| State | form | string | No | |
| You | form | CoverageSwapSideInfo | No | |
| Them | form | CoverageSwapSideInfo | No | |
| Directed | form | bool | No | |
| WithdrawnBy | form | string | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | No | |
| DateText | form | string | No | |
| JobName | form | string | No | |
| Consented | 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/coverage/swap/{Token}/respond HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Token":"String","Action":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"State":"String","You":{"Name":"String","DateText":"String","JobName":"String","Consented":false},"Them":{"Name":"String","DateText":"String","JobName":"String","Consented":false},"Directed":false,"WithdrawnBy":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}