Narcissistic Passion Minified
Have ideas to improve npm?Join in the discussion! »

workday-api

1.0.1 • Public • Published

Example payment page

https://accounts.siteminder.com/createPaymentMethod/A00024615/INV00656844

WD SOAP API

https://app.apiary.io/billingworkday/editor

https://wd3-impl-services1.workday.com/ccx/service/siteminder4/Revenue_Management/v29.0?wsdl

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> env:Header <wsse:Security env:mustUnderstand="1"> wsse:UsernameToken wsse:UsernameSM_Platform_User@siteminder4</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Workday3!</wsse:Password> </wsse:UsernameToken> </wsse:Security> </env:Header> env:Body <wd:Get_Customers_Request xmlns:wd="urn:com.workday/bsvc" wd:version="v30.0"> wd:Request_References wd:Customer_Reference <wd:ID wd:type="Customer_Reference_ID"> 001D0000010UbGVIA0 </wd:ID> </wd:Customer_Reference> </wd:Request_References> wd:Response_Filter wd:Page1</wd:Page> wd:Count1</wd:Count> </wd:Response_Filter> wd:Response_Group wd:Include_Referencetrue</wd:Include_Reference> wd:Include_Customer_Datatrue</wd:Include_Customer_Data> wd:Include_Customer_Balancetrue</wd:Include_Customer_Balance> wd:Include_Customer_Activity_Detailtrue</wd:Include_Customer_Activity_Detail> </wd:Response_Group> </wd:Get_Customers_Request> </env:Body> </env:Envelope>

Finance stuff

company (3 legal entityes) va

contract linked to a customer = (zuora) subscription /plan

Payment page rules

emea: adyen dd or cc amer: adyen dd or cc asia: USD - CC asia: AUD - dd (ippayments) or cc (adyen)

Customer_Reference_ID = sf account id Customer_ID = zuora id for existing OR for new ones sf id

WorkDay API

GET CUSTOMER: wd:Get_Customers_Request name --- Customer:Customer_Data:Customer_Name

GET INVOICE

company hierarchy (values: EMEA, asiaPaccific, AMER) --- inv number --- due date --- currency --- amount due --- billed to customer - > name --- payment type (value: Adyen) ---

DebtCollector API

to generate token use https://jwt.io/

.../api/v1/payments

Headers: Content-Type: application/json Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiMTExIn0.8MrJkKFpDDDtWp4Ux5nFkGr6iEeDH545_HWeNwt85OI

Body:

{ "workdayId": "Customer_Reference_ID", "invoiceNumber": "invoice_ID" }

Response 200 - OK

400 - Request validation errors

401 - Invalid token

403 - Authorization token required

422 - Data validation error

Keywords

none

Install

npm i workday-api

DownloadsWeekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

74.9 kB

Total Files

83

Last publish

Collaborators

  • avatar