CommandReflectionTemplate Documentation
CommandReflectionTemplate
Draft documentation version
Documentation is partial and not validated !
Description
Version | Alpha |
---|---|
Require User context | |
Authorization | |
Errors |
Request
Route
Parameters
Parameter | Required | Sample | Description |
---|---|---|---|
TemplateID | 2 | ID of ReflectionTemplate | |
WAC | WAC123456789012 | Code of BusinessAccount | |
ExecutionDate | 2014-09-15T13:59:20.0000000Z | Execution planned date. If empty, command is executed on next LTU call | |
ReflectionIDs | 1,2,3 | ID of ReflectionBase | |
ThrowMissingMapping | true | Used when some ReflectionBase are not configured for TemplateID. In this case, if true throw an error else ignore not configured | |
Tracking | Main | Ack and execution command tracking level as TrackingEnum |
Remarks
- To override Content-type in your clients HTTP Accept Header, append the
.csv
suffix or?format=csv
- To embed the response in a jsonp callback, append
?callback=myCallback
Post Data sample
POST /csv/reply/CommandReflectionTemplate HTTP/1.1
Host: localhost
Content-Type: text/csv
Content-Length: length
0
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/CommandTemplate/2
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