Quantcast
Viewing all articles
Browse latest Browse all 2504

How to update Access Level field in Answer object through SOAP API (1 Comment)

Topic by Calvin Nguyen

Content

Hi,

I have a problem updating Access Level field in Answer object through RN SOAP API. I kept getting this error "The code generated error of "response message does not match the content type of the binding".
I was able to update all other fields in Answer object, except Access Level field.
 

Below is my code snippet in C#:

ID AccessID = new ID();
AccessID.id = 3;
AccessID.idSpecified = true;
NamedIDDelta[] accessLevel = new NamedIDDelta[1];
accessLevel[0] = new NamedIDDelta();
accessLevel[0].ID = AccessID;
accessLevel[0].Name = "";
newAnswer.AccessLevels = accessLevel;

Thanks for your help.

 

Calvin

 

Version

May 2012

Viewing all articles
Browse latest Browse all 2504

Trending Articles