Affluenza REST API

<back to all web services

AccountUserGroupRequest

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: 107.22.237.214 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: AccountUserGroupRequest

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<AccountTransport.AccountUserGroupRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Transport">
  <AppKey xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">0</AppKey>
  <Token xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">String</Token>
  <GroupId>00000000-0000-0000-0000-000000000000</GroupId>
  <User xmlns:d2p1="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource.Account">
    <Id xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource">00000000-0000-0000-0000-000000000000</Id>
    <d2p1:Active>false</d2p1:Active>
    <d2p1:Cpf>String</d2p1:Cpf>
    <d2p1:CreateDate>0001-01-01T00:00:00</d2p1:CreateDate>
    <d2p1:Email>String</d2p1:Email>
    <d2p1:FirstName>String</d2p1:FirstName>
    <d2p1:Group>
      <Id xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource">00000000-0000-0000-0000-000000000000</Id>
      <d2p1:Active>false</d2p1:Active>
      <d2p1:Modules xmlns:d4p1="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource.Customer" i:nil="true" />
      <d2p1:Name>String</d2p1:Name>
      <d2p1:Permissions i:nil="true" />
      <d2p1:Users i:nil="true" />
      <d2p1:WeightType>
        <Id xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource">00000000-0000-0000-0000-000000000000</Id>
        <d2p1:Active>false</d2p1:Active>
        <d2p1:Name>String</d2p1:Name>
        <d2p1:Value>0</d2p1:Value>
      </d2p1:WeightType>
    </d2p1:Group>
    <d2p1:Groups i:nil="true" />
    <d2p1:LastName>String</d2p1:LastName>
    <d2p1:ParentCustomerId>00000000-0000-0000-0000-000000000000</d2p1:ParentCustomerId>
    <d2p1:PermissionDataLevel>false</d2p1:PermissionDataLevel>
    <d2p1:Token>String</d2p1:Token>
    <d2p1:UserGroup>String</d2p1:UserGroup>
  </User>
</AccountTransport.AccountUserGroupRequest>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<AccountTransport.AccountUserGroupResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Transport">
  <_x003C_ErrorMessage_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">
    <_x003C_Message_x003E_k__BackingField>String</_x003C_Message_x003E_k__BackingField>
    <_x003C_StatusCode_x003E_k__BackingField>0</_x003C_StatusCode_x003E_k__BackingField>
  </_x003C_ErrorMessage_x003E_k__BackingField>
  <_x003C_Response_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">false</_x003C_Response_x003E_k__BackingField>
  <_x003C_Status_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">Success</_x003C_Status_x003E_k__BackingField>
</AccountTransport.AccountUserGroupResponse>

    </soap:Body>
</soap:Envelope>