Logo
4PS-IDB API Documentation

crmCompaniesUpdate

PATCH {{Protocol}}://{{Server}}/{{NST}}/api/{{ApiPublisher}}/{{ApiGroup}}/v1.0/crmCompanies({{crmCompanySystemId}})?Company={{CentralCompany}}

Door middel van de crmCompaniesUpdate is het mogelijk om een bedrijf (relatie) te updaten. Merk op dat er voor het bijwerken een SystemID benodigd is, welke in de url wordt meegegeven:

v1.0/crmCompanies**(<**CalculationSystemId>**)**?Company={{CentralCompany}}

 

Body PARAM

Key Datatype Required Description 
Company
string
%26filter
string



HEADERS

Key Datatype Required Description 
If-Match
string




RESPONSES

status





Curl
curl -X PATCH 'undefined://undefined/undefined/api/4ps/idbApi/v1.0/crmCompanies(undefined)?Company=undefined?Company=undefined&%26filter=no eq BE00001' -H 'If-Match: *' -d '{"visitAddress":"Utrechtseweg 24","visitAddress2":"","vatRegistrationNo":"","eMail":"","systemId":"e9394464-209b-ed11-bb62-f264574560af","digiOfficeId":"a6e93edd-d810-4952-982d-58e3c9d31c7f","cocRegistrationNo":"","cocLocationNo":"","cocCity":"Harmelen","visitAddressCountryRegionId":"NL","countryRegionCodeId":"NL","mobilePhoneNo":"","name":"Garagebedrijf Knop","name2":"","visitAddressCity":"Zeist","city":"Zeist","address":"Postbus 15","visitAddressPostCode":"3702 AB","postCode":"3702 AA","phoneNo":"030-1112221","phoneNo2":"","homePage":""}'

ENDPOINTS