Logo
4PS-IDB API Documentation

crmPersonsUpdate

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

Door middel van de crmPersons wordt Gonnie Geelhoud opgehaald (door middel van het $filter = 'PE00010').

Vanuit het resultaat wordt de variabele PersonSystemId gezet, welke wordt gebruikt bij de crmPersonsUpdate.

 

Body PARAM

Key Datatype Required Description 
Company
string



HEADERS

Key Datatype Required Description 
If-Match
string




RESPONSES

status





Curl
curl -X PATCH 'undefined://undefined/undefined/api/4ps/idbApi/v1.0/crmPersons(undefined)?Company=undefined?Company=undefined' -H 'If-Match: *' -d '{"systemId":"3b3a4464-209b-ed11-bb62-f264574560af","companyName4ps":"Central Company","digiOfficeId":"61d433bb-26b8-41ac-afc3-78f96c02ae94","no":"PE00010","firstName":"Gonnie","middleName":"","surname":"Geelhoed","initials":"G.","gender":"Female","title":"","titleBehindTheName":"","blocked":false,"phoneNo":"","mobilePhoneNo":"","eMail":"","visitAddress":"","visitAddress2":"","visitAddressPostCode":"","visitAddressCity":"","visitAddressCountryRegionId":"NL","nameAbbreviation":"GG"}'

ENDPOINTS