powershell_module_workdayapi icon indicating copy to clipboard operation
powershell_module_workdayapi copied to clipboard

Phone number wrong reformatting

Open emanent opened this issue 5 years ago • 1 comments

Hello i try to set the phone number "351 (22) 0600121" and Set-WorkdayWorkerPhone is setting OK but when i read Get-WorkdayWorkerPhone it says " (122) 060-0121" is there any "pass-through" for phone number that will not invoke scrubbedNumber as it looks like the "reformatting" (looks like us reformattring) takes out part of number for "out of US" numbers

emanent avatar Feb 18 '20 12:02 emanent

Not sure. I have no way to test, no time and this works as-is for our current needs.

I would need to know how to send the number to Workday. Could you create an example XML request?

Right now, it accepts any phone number string with formatting characters, strips it down to the digits and sends the various segments to Workday with the following parameters. Workday then does the formatting of the number after that.

<bsvc:International_Phone_Code>?</bsvc:International_Phone_Code>
<bsvc:Area_Code>?</bsvc:Area_Code>
<bsvc:Phone_Number>?</bsvc:Phone_Number>
<bsvc:Phone_Extension>?</bsvc:Phone_Extension>

Here is Workday's documentation on the matter.

treestryder avatar Feb 19 '20 02:02 treestryder