GetOrganization
Draft documentation version
Documentation is partial and not validated !
Return
Organization
Version |
V1
|
Require User context
|
|
Authorization |
|
Errors |
|
Route
Parameters
Parameter |
Required |
Sample |
Description |
WOC |
|
WOC123456789012
|
WOC of Organization
|
Remarks
- To override Content-type in your clients HTTP Accept Header, append the
.jsv
suffix or ?format=jsv
- To embed the response in a jsonp callback, append
?callback=myCallback
Post Data sample
cURL command sample
curl -k -H "Authorization: Bearer [YOUR_ACCESS_TOKEN]" -H "Content-Type:application/jsv" https://api.wit-datacenter.com/Organization/WOC123456789012-
Returned Entity
Organization
JSV Sample
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
wType: Organization,
status: ToValidate,
woc: String,
siret: String,
vatin: String,
otherIN: String,
businessSector: String,
legalName: String,
organizationType: Other,
address:
{
wType: Address,
phone: String,
fax: String,
address: String,
postalCode: String,
city: String,
countryID: 0
},
url: String,
description: String,
creationDate: 0001-01-01,
updateDate: 0001-01-01,
id: 0,
picture: 00000000000000000000000000000000,
name: String
}