Passports REST Endpoints

HCM Contacts/Passports
The passports resource is a child of the hcmContacts resource. It provides all the passports of worker contacts as of the specified date. By default, the current date is retained.
Create a passport
Method: post
Path: /hcmRestApi/resources/11.13.18.05/hcmContacts/{hcmContactsUniqID}/child/passports
Delete a passport
Method: delete
Path: /hcmRestApi/resources/11.13.18.05/hcmContacts/{hcmContactsUniqID}/child/passports/{PassportId}
Get a passport
Method: get
Path: /hcmRestApi/resources/11.13.18.05/hcmContacts/{hcmContactsUniqID}/child/passports/{PassportId}
Get all passports
Method: get
Path: /hcmRestApi/resources/11.13.18.05/hcmContacts/{hcmContactsUniqID}/child/passports
Update a passport
Method: patch
Path: /hcmRestApi/resources/11.13.18.05/hcmContacts/{hcmContactsUniqID}/child/passports/{PassportId}