Service Directory > v31.2 > Resource_Management > Get_Expense_Credit_Cards
 

Operation: Get_Expense_Credit_Cards

This operation will get all Expense Credit Cards for the specified criteria. The response will include specific information about the Expense Credit Cards such as the Employee Reference, Corporate Credit Card Account, Credit Card Description, Credit Card Expiration Date, etc...


@ - A parameter name with this symbol denotes an XML attribute within the document instead of an XML element.


Contents

 

Web Service

 

Request

 

Response

 

Element(s)

 

Request Element: Get_Expense_Credit_Cards_Request

This element is the top-level request element for all Expense Credit Card "Get" operations.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Request_References [Choice]   Expense_Credit_Card_Request_References  [0..1]  This element content contains the echoed Expense Credit Card Request Reference Element   
Request_Criteria [Choice]   Expense_Credit_Card_Request_Criteria  [0..1]  This element content contains the echoed Expense Credit Card Request Criteria Element   
Response_Filter  Response_Filter  [0..1]  Parameters that let you filter the data returned in the response. You can filter returned data by dates and page attributes. 
Validation Description
Page Number cannot be zero.  Page number cannot be zero. 
 
Response_Group  Expense_Credit_Card_Response_Group  [0..1]  This element content contains the echoed Expense Credit Card Response Group Element   
top
 

Response Element: Get_Expense_Credit_Cards_Response

Element containing Expense Credit Card response elements including echoed request data and request result data
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Request_References  Expense_Credit_Card_Request_References  [0..1]  Expense Credit Card Reference element contains the specific instance set containing the requested Expense Credit Card.   
Request_Criteria  Expense_Credit_Card_Request_Criteria  [0..1]  This element is the wrapper around a list of elements representing the Expense Credit Card Request specific criteria needed to search for instances. All of the elements are "AND" conditions.   
Response_Filter  Response_Filter  [0..1]  Parameters that let you filter the data returned in the response. You can filter returned data by dates and page attributes. 
Validation Description
Page Number cannot be zero.  Page number cannot be zero. 
 
Response_Group  Expense_Credit_Card_Response_Group  [0..1]  Wrapper element around a list of elements representing the amount of data that should be included in the Expense Credit Card response. If this element is not included then ALL of the Response Groups are included in the response.   
Response_Results  Response_Results  [0..1]  The "Response_Results" element contains summary information about the data that has been returned from your request including "Total_Results", "Total_Pages", and the current "Page" returned.   
Response_Data  Expense_Credit_Card_Response_Data  [0..1]  This element content contains the Expense Credit Card Response Data element.   
top
 

Expense_Credit_Card_Request_References

part of: Get_Expense_Credit_Cards_Request, Get_Expense_Credit_Cards_Response
Expense Credit Card Reference element contains the specific instance set containing the requested Expense Credit Card.
 
Parameter name Type/Value Cardinality Description Validations
Expense_Credit_Card_Reference  Worker_Credit_CardObject  [1..*]  Instance set containing the Expense Credit Card object.   
top
 

Worker_Credit_CardObject

part of: Expense_Credit_Card_Request_References, Expense_Credit_Card
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Worker_Credit_CardObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Worker_Credit_CardObjectID

part of: Worker_Credit_CardObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Expense_Credit_Card_ID, Expense_Credit_Card_Token  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Expense_Credit_Card_Request_Criteria

part of: Get_Expense_Credit_Cards_Request, Get_Expense_Credit_Cards_Response
This element is the wrapper around a list of elements representing the Expense Credit Card Request specific criteria needed to search for instances. All of the elements are "AND" conditions.
 
Parameter name Type/Value Cardinality Description Validations
Corporate_Credit_Card_Account_Reference  Corporate_Credit_Card_AccountObject  [0..1]  Corporate Credit Card Account Reference for a credit card.   
Employee_ID  string  [0..1]  Employee ID for the Expense Credit Card   
Last_4_Digits_of_Credit_Card_Number  string (4)   [0..1]  Last 4 Digits of Credit Card Number for the Expense Credit Card   
Document_Status_Reference  Document_StatusObject  [0..1]  Document Status Reference for a credit card.   
top
 

Corporate_Credit_Card_AccountObject

part of: Expense_Credit_Card_Data, Expense_Credit_Card_Request_Criteria
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Corporate_Credit_Card_AccountObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Corporate_Credit_Card_AccountObjectID

part of: Corporate_Credit_Card_AccountObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Corporate_Credit_Card_Account_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Document_StatusObject

part of: Expense_Credit_Card_Data, Expense_Credit_Card_Request_Criteria
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Document_StatusObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Document_StatusObjectID

part of: Document_StatusObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Document_Status_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Response_Filter

part of: Get_Expense_Credit_Cards_Request, Get_Expense_Credit_Cards_Response
Parameters that let you filter the data returned in the response. You can filter returned data by dates and page attributes.
 
Parameter name Type/Value Cardinality Description Validations
As_Of_Effective_Date  date  [0..1]  Indicates the date when application data, such as benefits and compensation, are deemed effective in the Workday system. (Also referred to as the "Effective Moment".) If not specified, this date defaults to TODAY.   
As_Of_Entry_DateTime  dateTime  [0..1]  Indicates the date and time that data was entered into the system. (This field is also referred to as the "Entry Moment".) If not specified, defaults to the CURRENT DATE/TIME.   
Page  decimal (12, 0) >0   [0..1]  Indicates the page of data to return in the response, and defaults to the first page (Page = 1). For responses that contain more than one page of data, use this parameter to retrieve the additional pages of data. For example, set Page = 2 to retrieve the second page of data. Note: If you set the page parameter, you must also specify the "As_Of_Entry_Date" to ensure that the result set remains the same between your requests.   
Count  decimal (3, 0) >0   [0..1]  Sets the number of objects to return within each response page (Min = 1, Max = 999, Default = 100 if not set). Any values you set must be between 1-999.   
Validation Description
Page Number cannot be zero.  Page number cannot be zero. 
top
 

Expense_Credit_Card_Response_Group

part of: Get_Expense_Credit_Cards_Request, Get_Expense_Credit_Cards_Response
Wrapper element around a list of elements representing the amount of data that should be included in the Expense Credit Card response. If this element is not included then ALL of the Response Groups are included in the response.
 
Parameter name Type/Value Cardinality Description Validations
Include_Reference  boolean  [0..1]  Flag indicating if the Expense Credit Card Reference data is to be included in the response   
Include_Expense_Credit_Card_Data  boolean  [0..1]  Flag indicating if the Expense Credit Card data is to be included in the response   
top
 

Response_Results

part of: Get_Expense_Credit_Cards_Response
The "Response_Results" element contains summary information about the data that has been returned from your request including "Total_Results", "Total_Pages", and the current "Page" returned.
 
Parameter name Type/Value Cardinality Description Validations
Total_Results  decimal (12, 0) >0   [0..1]  The total number of results that have been returned from your request.   
Total_Pages  decimal (12, 0) >0   [0..1]  The total number of pages that exist for your request. A page of data in WWS contains a maximum of 100 entries. So, if you have exactly 1,000 employees returned in a request, then you will have 10 pages of data that will need to be retrieved to build your complete dataset. Each page contains a maximum of 100 entries.   
Page_Results  decimal (12, 0) >0   [0..1]  Number of Results in current page.   
Page  decimal (12, 0) >0   [0..1]  The page of data that has been returned for the given request.   
top
 

Expense_Credit_Card_Response_Data

part of: Get_Expense_Credit_Cards_Response
Wrapper element containing expense credit card response data for requested references or criteria and for requested response group
 
Parameter name Type/Value Cardinality Description Validations
Expense_Credit_Card  Expense_Credit_Card  [0..*]  Wrapper element that includes expense credit card instance and data   
top
 

Expense_Credit_Card

part of: Expense_Credit_Card_Response_Data
Wrapper element that includes expense credit card instance and data
 
Parameter name Type/Value Cardinality Description Validations
Expense_Credit_Card_Reference  Worker_Credit_CardObject  [0..1]  Expense Credit Card Reference   
Expense_Credit_Card_Data  Expense_Credit_Card_Data  [0..1]  Element containing all Expense Credit Card data 
Validation Description
Another Expense Credit Card assigned to this Employee has the same Last Four Digits of Credit Card Number.   
The Employee Reference is required.   
An Expense Credit Card Token cannot be submitted without a GL 1205 Card Holder Listing File Reference.   
This credit card has an invalid usage and is unavailable for reassignment.   
This credit card has an invalid payment responsibility and is unavailable for reassignment.   
The corporate credit card account for credit card reference ID [credit card identifier] cannot be modified because there are credit card transactions associated with this credit card.   
The employee for credit card reference ID [credit card identifier] cannot be modified because there are credit card transactions associated with this credit card.   
 
top
 

Expense_Credit_Card_Data

part of: Expense_Credit_Card
Element containing all Expense Credit Card data
 
Parameter name Type/Value Cardinality Description Validations
Expense_Credit_Card_ID  string  [0..1]  Expense Credit Card ID. This is the Expense Credit Card unique identifier   
Corporate_Credit_Card_Account_Reference  Corporate_Credit_Card_AccountObject  [1..1]  Corporate Credit Card Account Reference for the Expense Credit Card.   
Employee_Reference [Choice]   EmployeeObject  [0..1]  Employee Reference for the Expense Credit Card. This will only be used in the iLOAD.   
Employee_ID [Choice]   string  [0..1]  Employee ID for the Expense Credit Card. This will only be used by the Integrations Web Service for a standard card holder listing file where the reference to an Employee in Workday is not available.   
Credit_Card_Description  string  [0..1]  Expense Credit Card Description.   
Last_4_Digits_of_Credit_Card_Number  string (4)   [0..1]  Expense Credit Card Number Last 4 Digits.   
Credit_Card_Expiration_Date  date  [1..1]  Expense Credit Card Expiration Date.   
Monthly_Limit  decimal (12, 0) >0   [0..1]  Expense Credit Card Monthly Limit.   
Transaction_Limit  decimal (12, 0) >0   [0..1]  Expense Credit Card Transaction Limit.   
Billing_Currency_Reference  CurrencyObject  [0..1]  Billing Currency Reference for Expense Credit Card.   
Cash_Access_Allowed  boolean  [0..1]  Cash Access Allowed boolean for Expense Credit Card   
Cancel_Date  date  [0..1]  Expense Credit Card Cancel Date 
Validation Description
A Cancel date must be provided since the Credit Card Status is canceled.   
 
Cardmember_Embossed_Name  string  [0..1]  Expense Credit Card Cardmember Embossed Name.   
Document_Status_Reference  Document_StatusObject  [1..1]  Document Status Reference for Expense Credit Card. The statuses are Error (this can occur if the standard card holder listing file does not provide all needed data), Active, Canceled, Deleted, and Suspended.   
Card_Holder_Listing_File_Reference  Cardholder_Listing_FileObject  [0..*]  Card Holder Listing File Reference for Expense Credit Card. This reference will only be provided by the Integrations Web Service and it will represent the standard card holder listing file.   
Expense_Credit_Card_Token  string  [0..1]  Expense Credit Card Token will only be set by the Integrations Web Service for PCI. This Token will be a unique identifier for each Expense Credit Card. It will be used to represent the Expense Credit Card Numbers. It will get generated by Integrations.   
Reassignment_Enabled  boolean  [0..1]  Manual Reassignment Allowed boolean for Expense Credit Card   
Validation Description
Another Expense Credit Card assigned to this Employee has the same Last Four Digits of Credit Card Number.   
The Employee Reference is required.   
An Expense Credit Card Token cannot be submitted without a GL 1205 Card Holder Listing File Reference.   
This credit card has an invalid usage and is unavailable for reassignment.   
This credit card has an invalid payment responsibility and is unavailable for reassignment.   
The corporate credit card account for credit card reference ID [credit card identifier] cannot be modified because there are credit card transactions associated with this credit card.   
The employee for credit card reference ID [credit card identifier] cannot be modified because there are credit card transactions associated with this credit card.   
top
 

EmployeeObject

part of: Expense_Credit_Card_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  EmployeeObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

EmployeeObjectID

part of: EmployeeObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Employee_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

CurrencyObject

part of: Expense_Credit_Card_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  CurrencyObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

CurrencyObjectID

part of: CurrencyObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Currency_ID, Currency_Numeric_Code  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Cardholder_Listing_FileObject

part of: Expense_Credit_Card_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Cardholder_Listing_FileObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Cardholder_Listing_FileObjectID

part of: Cardholder_Listing_FileObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Cardholder_Listing_File_Number  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Worker_Credit_CardReferenceEnumeration

part of: Worker_Credit_CardObjectID
Base Type
string
top
 

Corporate_Credit_Card_AccountReferenceEnumeration

part of: Corporate_Credit_Card_AccountObjectID
Base Type
string
top
 

Document_StatusReferenceEnumeration

part of: Document_StatusObjectID
Base Type
string
top
 

EmployeeReferenceEnumeration

part of: EmployeeObjectID
Base Type
string
top
 

CurrencyReferenceEnumeration

part of: CurrencyObjectID
Base Type
string
top
 

Cardholder_Listing_FileReferenceEnumeration

part of: Cardholder_Listing_FileObjectID
Base Type
string
top