PDS API ERROR, STATUS CODE 7

E

evanc24

Dear All,

I was trying to use EnterpriseCustomFieldsUpdate method to update an
Enterprise Custom Field and got an error status code 7, The node name
is not recognized as valid syntax for the request.

Here is my XML request fragment:

<Request>
<EnterpriseCustomFieldsUpdate>
<FieldID>188744729</FieldID>
<ValuelistInUse>1</ValuelistInUse>
<ValueList>
<ValueItem>
<Value>value1</Value>
<Description>EvanProj1D</Description>
</ValueItem>
</ValueList>
</EnterpriseCustomFieldsUpdate>
</Request>

Thank you very much for your help in advance.
 
G

Gord Schmidt

Hi evanc24,

Your request must include all of the nodes of the XML (specifically
<CustomFields> and <CustomField>). Here is the structure from the
documentation:

<Request>
<EnterpriseCustomFieldsUpdate>
<CustomFields>
<CustomField>
<FieldID></FieldID>
<FieldName></FieldName>
<SelectionRequired></SelectionRequired>
<Default></Default>
<ValuelistInUse></ValuelistInUse>
<ValuelistSortOrder></ValuelistSortOrder>
<ValueList>
<ValueItem>
<Phonetic></Phonetic>
<Value></Value>
<Description></Description>
</ValueItem>
<ValueItem>
<Phonetic></Phonetic>
<Value></Value>
<Description></Description>
</ValueItem>
</ValueList>
</CustomField>
</ CustomFields>
</ EnterpriseCustomFieldsUpdate >
</Request>

Good luck,
Gord
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top