c# - Highrise Api, Subject data not posting with RestSharp -


i trying use highrise api .net 4.5 wrapper scottschluer in order post new person our highrise account along custom data enter.

the issue running custom data. person object gets posted fine, subject data fields not being included post.

i did come across post: highrise custom fields. looked thing missing type="array" attribute subject_datas field. tested hypothesis manually creating request using serialized value of object trying post. result of test, successful post server custom data fields filled.

i've tried extending classes wrapper assembly add missing attribute list, still didn't seem work. person object has property list of subjectdata objects, overwrote property in child class use custom class instead. way add property use attribute. custom class still didn't seem work.

after looking @ code restsharp's xmlserializer, appears add list of items when object implements ilist. wasn't issue, able working, code not seem allow adding attributes list element. looks @ children of list class , ignores other properties on object.

so question this:

is possible apply attributes list property in restsharp, or there way add type="array" attribute data_subjects xml node before request sent?


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -