Coachview.net Webservices [Speciaal]
Click here for a complete list of operations.
SelecterenBedrijfById
Eén bedrijf ophalen aan de hand van zijn id.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /Webservice/Speciaal.asmx HTTP/1.1 Host: training.coachview.net Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://coachview.net/webservices/SelecterenBedrijfById" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SelecterenBedrijfById xmlns="http://coachview.net/webservices"> <aWebserviceAuthentication> <Key>string</Key> </aWebserviceAuthentication> <intCompanyId>int</intCompanyId> </SelecterenBedrijfById> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SelecterenBedrijfByIdResponse xmlns="http://coachview.net/webservices"> <SelecterenBedrijfByIdResult> <NaamBedrijf>string</NaamBedrijf> <CompanyId>int</CompanyId> <OptInOut>Onbekend or OptIn or OptOut</OptInOut> <Adres> <Adres>string</Adres> <Adres2>string</Adres2> <Adres3>string</Adres3> <Adres4>string</Adres4> <Postcode>string</Postcode> <Plaats>string</Plaats> <CountryId>int</CountryId> <GebruikAnderAdres>boolean</GebruikAnderAdres> <Land>string</Land> <LandEN>string</LandEN> <LandCode2Prefix>string</LandCode2Prefix> <LandCode3Prefix>string</LandCode3Prefix> </Adres> <BezoekAdres> <Adres>string</Adres> <Adres2>string</Adres2> <Adres3>string</Adres3> <Adres4>string</Adres4> <Postcode>string</Postcode> <Plaats>string</Plaats> <CountryId>int</CountryId> <GebruikAnderAdres>boolean</GebruikAnderAdres> <Land>string</Land> <LandEN>string</LandEN> <LandCode2Prefix>string</LandCode2Prefix> <LandCode3Prefix>string</LandCode3Prefix> </BezoekAdres> <FactuurAdres> <Adres>string</Adres> <Adres2>string</Adres2> <Adres3>string</Adres3> <Adres4>string</Adres4> <Postcode>string</Postcode> <Plaats>string</Plaats> <CountryId>int</CountryId> <GebruikAnderAdres>boolean</GebruikAnderAdres> <Land>string</Land> <LandEN>string</LandEN> <LandCode2Prefix>string</LandCode2Prefix> <LandCode3Prefix>string</LandCode3Prefix> </FactuurAdres> <OverigAdres> <Adres>string</Adres> <Adres2>string</Adres2> <Adres3>string</Adres3> <Adres4>string</Adres4> <Postcode>string</Postcode> <Plaats>string</Plaats> <CountryId>int</CountryId> <GebruikAnderAdres>boolean</GebruikAnderAdres> <Land>string</Land> <LandEN>string</LandEN> <LandCode2Prefix>string</LandCode2Prefix> <LandCode3Prefix>string</LandCode3Prefix> </OverigAdres> <Tel1>string</Tel1> <Tel2>string</Tel2> <Fax>string</Fax> <Email>string</Email> <Website>string</Website> <Opmerking>string</Opmerking> <Inactief>boolean</Inactief> <ExternId>string</ExternId> <ExternSource>string</ExternSource> </SelecterenBedrijfByIdResult> </SelecterenBedrijfByIdResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /Webservice/Speciaal.asmx HTTP/1.1 Host: training.coachview.net Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SelecterenBedrijfById xmlns="http://coachview.net/webservices"> <aWebserviceAuthentication> <Key>string</Key> </aWebserviceAuthentication> <intCompanyId>int</intCompanyId> </SelecterenBedrijfById> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SelecterenBedrijfByIdResponse xmlns="http://coachview.net/webservices"> <SelecterenBedrijfByIdResult> <NaamBedrijf>string</NaamBedrijf> <CompanyId>int</CompanyId> <OptInOut>Onbekend or OptIn or OptOut</OptInOut> <Adres> <Adres>string</Adres> <Adres2>string</Adres2> <Adres3>string</Adres3> <Adres4>string</Adres4> <Postcode>string</Postcode> <Plaats>string</Plaats> <CountryId>int</CountryId> <GebruikAnderAdres>boolean</GebruikAnderAdres> <Land>string</Land> <LandEN>string</LandEN> <LandCode2Prefix>string</LandCode2Prefix> <LandCode3Prefix>string</LandCode3Prefix> </Adres> <BezoekAdres> <Adres>string</Adres> <Adres2>string</Adres2> <Adres3>string</Adres3> <Adres4>string</Adres4> <Postcode>string</Postcode> <Plaats>string</Plaats> <CountryId>int</CountryId> <GebruikAnderAdres>boolean</GebruikAnderAdres> <Land>string</Land> <LandEN>string</LandEN> <LandCode2Prefix>string</LandCode2Prefix> <LandCode3Prefix>string</LandCode3Prefix> </BezoekAdres> <FactuurAdres> <Adres>string</Adres> <Adres2>string</Adres2> <Adres3>string</Adres3> <Adres4>string</Adres4> <Postcode>string</Postcode> <Plaats>string</Plaats> <CountryId>int</CountryId> <GebruikAnderAdres>boolean</GebruikAnderAdres> <Land>string</Land> <LandEN>string</LandEN> <LandCode2Prefix>string</LandCode2Prefix> <LandCode3Prefix>string</LandCode3Prefix> </FactuurAdres> <OverigAdres> <Adres>string</Adres> <Adres2>string</Adres2> <Adres3>string</Adres3> <Adres4>string</Adres4> <Postcode>string</Postcode> <Plaats>string</Plaats> <CountryId>int</CountryId> <GebruikAnderAdres>boolean</GebruikAnderAdres> <Land>string</Land> <LandEN>string</LandEN> <LandCode2Prefix>string</LandCode2Prefix> <LandCode3Prefix>string</LandCode3Prefix> </OverigAdres> <Tel1>string</Tel1> <Tel2>string</Tel2> <Fax>string</Fax> <Email>string</Email> <Website>string</Website> <Opmerking>string</Opmerking> <Inactief>boolean</Inactief> <ExternId>string</ExternId> <ExternSource>string</ExternSource> </SelecterenBedrijfByIdResult> </SelecterenBedrijfByIdResponse> </soap12:Body> </soap12:Envelope>