DeleteFlux Documentation
DeleteFlux
Draft documentation version
Documentation is partial and not validated !
Description
Remark
For Flux having a FluxLevelEnum of type Raw: You can not directly delete Flux in your BusinessAccount store: you must first set Flux as Obsolete or Disabled (view Flux concepts and EntityStatusEnum) on your LTU to break communication toward WIT-DataCenter Plateform
Version | Beta |
---|---|
Require User context | |
Authorization | |
Errors | NotExist |
Request
Route
Parameters
Parameter | Required | Sample | Description |
---|---|---|---|
FluxID | 21 | ID of Flux | |
WAC | WAC123456789012 | Code of BusinessAccount |
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/DeleteFlux HTTP/1.1
Host: localhost
Content-Type: text/csv
Content-Length: length
FluxID,WAC
0,String
cURL command sample
curl -k -H "Authorization: Bearer [YOUR_ACCESS_TOKEN]" -H "Content-Type:application/csv" -X DELETE -d @filename.csv https://api.wit-datacenter.com/WAC123456789012/Flux/21
Remark
@filename.csv
contain your request parameters serialized in CSV as described in Post Data sample bottom
Response
Returned Entity
Deleted FluxCSV Sample
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length LTUID,ParentFluxID,Level,ClassID,CreationDate,UpdateDate,ExchangeDate,Status,WCI,PointsCount,Size,Description,InfrastructureID,Period,LastDataDate,FirstDataDate,ID,Picture,Name 0,0,Ventilated,0,0001-01-01,0001-01-01,0001-01-01,Disabled,String,0,0,String,0,String,0001-01-01,0001-01-01,0,00000000000000000000000000000000,String