Example XML Request & Response - POST TagValue

https://...surpass.com/api/v2/TagValue/

Header:

Content-length: 132
Content-type: application/json
Accept: application/json
Authorization: Basic Q1RMRGVtbzpQYXNzd29yZa==

Body:

<tagValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

  <tagGroup xmlns:d2p1="http://schemas.datacontract.org/2004/07/SurpassApiSdk.DataContracts.TagValue">

    <d2p1:Id>1</d2p1:Id>

    <d2p1:Name>JL Test</d2p1:Name>

  </tagGroup>

  <tagValue>JL value 2</tagValue>

  <deleted>false</deleted>

</tagValue>

 
Response:

<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

  <id>28372</id>

  <href>https://...surpass.com/api/v2/TagValue/28372</href>

  <errors i:nil="true" />

</response>

Feedback and Knowledge Base