GetInfrastructure
Draft documentation version
Documentation is partial and not validated !
Return all
InfrastructureBase in BusinessAccount store
Version |
V1
|
Require User context
|
|
Authorization |
|
Errors |
|
Route
GET
/{WAC}/Infrastructure
Parameters
Parameter |
Required |
Sample |
Description |
WAC |
|
WAC123456789012
|
Code of BusinessAccount
|
UpdatedDate |
|
2014-09-15T13:59:20.0000000Z
|
Return infrastructures having an updated date more recent
|
Remarks
- To override Content-type in your clients HTTP Accept Header, append the
.xml
suffix or ?format=xml
- To embed the response in a jsonp callback, append
?callback=myCallback
Post Data sample
UpdatedDate=2014-09-15T13:59:20.0000000Z&
cURL command sample
curl -k -H "Authorization: Bearer [YOUR_ACCESS_TOKEN]" -H "Content-Type:application/xml" https://api.wit-datacenter.com/WAC123456789012/Infrastructure?UpdatedDate=2014-09-15T13%3a59%3a20.0000000Z
Returned Entity
Array of
InfrastructureBase
XML Sample
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ArrayOfBaseInfrastructure xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://api.wit-datacenter.com/">
<BaseInfrastructure i:nil="true" />
</ArrayOfBaseInfrastructure>