WorkDay Human_Resources API Integration

Multi tool use
WorkDay Human_Resources API Integration
I have succesfully integrated both Human_Resources and Financial_Management using asp.net C#. So I'm putting all together all issues I had experienced and helpful resources I found online:
WorkDay Documentation is available at:
https://community.workday.com/sites/default/files/file-hosting/productionapi/index.html
To get started, read here http://hr.dovetailsoftware.com/gcox/2014/06/13/getting-started-workday-web-services-using-c/ make sure to follow some clean up tips on this article.
If you get the same error while submitting data to WD
Error
There was an error in serializing one of the headers in message Get_ProjectsInput: ‘Unable to generate a temporary class (result=1).
error CS0030: Cannot convert type ‘ConsoleApplication1.WkDay.Rm.Asset_Book_Rule_Request_CriteriaType’ to ‘ConsoleApplication1.WkDay.Rm.Asset_Book_Rule_Request_ReferencesType’
error CS0030: Cannot convert type ‘ConsoleApplication1.WkDay.Rm.Asset_Shares_Request_CriteriaType’ to ‘ConsoleApplication1.WkDay.Rm.Asset_Shares_Request_ReferenceType’
error CS0029: Cannot implicitly convert type ‘ConsoleApplication1.WkDay.Rm.Asset_Book_Rule_Request_ReferencesType’ to ‘ConsoleApplication1.WkDay.Rm.Asset_Book_Rule_Request_CriteriaType’
error CS0029: Cannot implicitly convert type ‘ConsoleApplication1.WkDay.Rm.Asset_Shares_Request_ReferenceType’ to ‘ConsoleApplication1.WkDay.Rm.Asset_Shares_Request_CriteriaType’
‘. Please see InnerException for more details.
SOLUTION: Comment out
[System.Xml.Serialization.XmlElementAttribute("Request_References", typeof(), Order=0)]
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Request_Criteria", typeof(Asset_Book_Rule_Request_CriteriaType), Order=Asset_Book_Rule_Request_ReferencesType0)]
//anr [System.Xml.Serialization.XmlElementAttribute("Request_References", typeof(), Order=0)]
[System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")]
public Asset_Book_Rule_Request_CriteriaType Item
{
get
{
return this.itemField;
}
set
{
this.itemField = value;
}
}
not actually a question. just sharing what I did to make workday intergration work. Does StackOverflow has something like that kind of section? I should move this post there.
– Alfred Roa
Jun 28 at 10:11
@AlfredRoa please put the solution in the answer section below, separate from the question (then you can accept it as the solution, which marks the question as solved)
– River
Jun 29 at 22:52
1 Answer
1
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("Request_Criteria", typeof(Asset_Book_Rule_Request_CriteriaType), Order=Asset_Book_Rule_Request_ReferencesType0)]
//anr [System.Xml.Serialization.XmlElementAttribute("Request_References", typeof(), Order=0)]
[System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")]
public Asset_Book_Rule_Request_CriteriaType Item
{
get
{
return this.itemField;
}
set
{
this.itemField = value;
}
}
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
What exactly are you trying to ask?
– Alex W
Jun 28 at 4:36