CommandReflections Documentation
CommandReflections
Draft documentation version
Documentation is partial and not validated !
Description
| Version | V1 |
|---|---|
| Require User context | |
| Authorization | |
| Errors |
Request
Route
Parameters
| Parameter | Required | Sample | Description |
|---|---|---|---|
| WAC | WAC123456789012 | Code of BusinessAccount | |
| Commands | Array of ReflectionCommandMultiple | ||
| Description | My grouped command description | Description of grouped command | |
| ExecutionDate | 2014-09-15T13:59:20.0000000Z | Execution planned date. If empty, commands are executed on next related LTU call | |
| Name | My grouped command name | Name of grouped command | |
| Tracking | Main | Ack and execution command tracking level as TrackingEnum |
Remarks
- To override Content-type in your clients HTTP Accept Header, append the
.csvsuffix or?format=csv - To embed the response in a jsonp callback, append
?callback=myCallback
Post Data sample
POST /csv/reply/CommandReflections HTTP/1.1
Host: localhost
Content-Type: text/csv
Content-Length: length
{Unable to show example output for type 'CommandReflections' using the custom 'csv' filter}Impossible de créer une instance de WIT.DataCenter.DTOs.ReflectionCommandBaseDto, car il s'agit d'une classe abstraite.
cURL command sample
curl -k -H "Authorization: Bearer [YOUR_ACCESS_TOKEN]" -H "Content-Type:application/csv" -X POST -d @filename.csv https://api.wit-datacenter.com/WAC123456789012/Reflection/CommandGroup
Remark
@filename.csv contain your request parameters serialized in CSV as described in Post Data sample bottom
Response
Returned Entity
Commands as Compact ReflectionCommandGroupCSV Sample
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length ExecutionStatus,Count Awaiting,0
SDK DotNet
SDK Android
SDK IOS