Example XML Request & Response - GET UserPermission

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


<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <count>1553</count>
  <top>10</top>
  <skip>0</skip>
  <pageCount>156</pageCount>
 < nextPageLink>https://...surpass.com/api/v2/UserPermission?$skip=10</nextPageLink>
  <prevPageLink i:nil="true" />
  <response>
    <userPermission>
      <id>108</id>
     < href>https://...surpass.com/api/v2/UserPermission/108</href>
    </userPermission>
    <userPermission>
      <id>365</id>
     < href>https://...surpass.com/api/v2/UserPermission/365</href>
    </userPermission>
    <userPermission>
      <id>366</id>
     < href>https://...surpass.com/api/v2/UserPermission/366</href>
    </userPermission>
    <userPermission>
      <id>367</id>
     < href>https://...surpass.com/api/v2/UserPermission/367</href>
    </userPermission>
    <userPermission>
      <id>368</id>
     < href>https://...surpass.com/api/v2/UserPermission/368</href>
    </userPermission>
    <userPermission>
      <id>369</id>
     < href>https://...surpass.com/api/v2/UserPermission/369</href>
    </userPermission>
    <userPermission>
      <id>371</id>
     < href>https://...surpass.com/api/v2/UserPermission/371</href>
    </userPermission>
    <userPermission>
      <id>372</id>
     < href>https://...surpass.com/api/v2/UserPermission/372</href>
    </userPermission>
    <userPermission>
      <id>373</id>
     < href>https://...surpass.com/api/v2/UserPermission/373</href>
    </userPermission>
    <userPermission>
      <id>374</id>
     < href>https://...surpass.com/api/v2/UserPermission/374</href>
    </userPermission>
  </response>
  <errors i:nil="true" />
< /response>


https://...surpass.com/api/v2/UserPermission?$filter=user/reference eq 'test'

<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <count>1</count>
  <top>10</top>
  <skip>0</skip>
  <pageCount>1</pageCount>
  <nextPageLink i:nil="true" />
  <prevPageLink i:nil="true" />
  <response>
    <userPermission>
      <id>5945</id>
     < href>https://...surpass.com/api/v2/UserPermission/5945</href>
    </userPermission>
  </response>
  <errors i:nil="true" />
</response>

Feedback and Knowledge Base