POST api/LabelListOnCompanies?user={user}&password={password}&applicationName={applicationName}
Alle labels bij één of meerdere bedrijven opvragen.
Request Information
URI Parameters
Naam | Omschrijving | Type | Extra informatie |
---|---|---|---|
user |
E-mailadres van Mijn DATA-collectief account |
string |
Vereist |
password |
Wachtwoord API koppeling |
string |
Vereist |
applicationName |
Applicatienaam API koppeling |
string |
Vereist |
Body Parameters
LabelListOnCompaniesRequestNaam | Omschrijving | Type | Extra informatie |
---|---|---|---|
CompanyIds |
Lijst van maximaal 5000 DATA-collectief bedrijfsnummers |
Verzameling van integer |
Geen |
Request Formats
application/json, text/json
Voorbeeld:
{ "CompanyIds": [ 1, 2 ] }
application/xml, text/xml
Voorbeeld:
<LabelListOnCompaniesRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <CompanyIds> <int>1</int> <int>2</int> </CompanyIds> </LabelListOnCompaniesRequest>
Response Information
Naam | Omschrijving | Type | Extra informatie |
---|---|---|---|
Companies |
Lijst van van bedrijven met bijbehorende labels |
Verzameling van LabelListOnCompanyItem |
Geen |
TotalFound |
Totaal aantal gevonden bedrijven |
integer |
Geen |
Response Formats
application/json, text/json
Voorbeeld:
{ "Companies": [ { "CompanyId": 1, "Labels": [ "voorbeeld string 1", "voorbeeld string 2" ] }, { "CompanyId": 1, "Labels": [ "voorbeeld string 1", "voorbeeld string 2" ] } ], "TotalFound": 1 }
application/xml, text/xml
Voorbeeld:
<LabelListOnCompaniesResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Companies> <LabelListOnCompanyItem> <CompanyId>1</CompanyId> <Labels> <string>voorbeeld string 1</string> <string>voorbeeld string 2</string> </Labels> </LabelListOnCompanyItem> <LabelListOnCompanyItem> <CompanyId>1</CompanyId> <Labels> <string>voorbeeld string 1</string> <string>voorbeeld string 2</string> </Labels> </LabelListOnCompanyItem> </Companies> <TotalFound>1</TotalFound> </LabelListOnCompaniesResult>