AbodeONE

<back to all web services

UpdateHeadChaperone

Requires Authentication
Requires the role:Admin
The following routes are available for this service:
PATCH/guest_group/update_head_chap
UpdateHeadChaperone Parameters:
NameParameterData TypeRequiredDescription
GuestGroupIdqueryint?No
NewHeadChaperoneIdqueryintNo
OldHeadChaperoneIdqueryintNo
ChaperoneIdsqueryArrayOfIntNo
GuestIdsqueryArrayOfIntNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PATCH //guest_group/update_head_chap HTTP/1.1 
Host: api.lsu-staging.abodehms.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<UpdateHeadChaperone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbodeAPI.ServiceModel">
  <ChaperoneIds xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:Int>0</d2p1:Int>
  </ChaperoneIds>
  <GuestGroupId>0</GuestGroupId>
  <GuestIds xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:Int>0</d2p1:Int>
  </GuestIds>
  <NewHeadChaperoneId>0</NewHeadChaperoneId>
  <OldHeadChaperoneId>0</OldHeadChaperoneId>
</UpdateHeadChaperone>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">false</boolean>