You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Create Worker Phone using REST API - CountryCodeNumber is defaulted

Accepted answer
52
Views
3
Comments

Summary:

When using:

Operation: POST

/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/phones

Country code is getting defaulted. However, if I use HDL, I can pass blank value in for country code and even from application country code is a non mandatory attribute.

How can we achieve the same behaviour using REST API?

I don't want Country Code column to be populated if I am not explicitly passing it.

Content (required):

I don't want Country Code column to be populated if I am not explicitly passing it.


Version (include the version you are using, if applicable):

22D

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!