POST api/Account/GetUserServices

Request Information

URI Parameters

None.

Body Parameters

GetUserServicesRequest
NameDescriptionTypeAdditional information
Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1"
}

application/xml, text/xml

Sample:
<GetUserServicesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Account.Request">
  <Token xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 1</Token>
</GetUserServicesRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetUserServicesResponse
NameDescriptionTypeAdditional information
UserServices

Collection of UserService

None.

ErrorCode

string

None.

ErrorMessage

string

None.

ErrorCategory

string

None.

Result

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "UserServices": [
    {
      "AzUserServiceId": "sample string 1",
      "AzServiceId": 2,
      "Quantity": 3.0,
      "StartDate": "2021-07-28T18:05:08.0873557+03:00",
      "EndDate": "2021-07-28T18:05:08.0873557+03:00",
      "UsedQuantity": 6.0,
      "ServiceName": "sample string 7",
      "ServiceDesc": "sample string 8",
      "PaymentId": "sample string 9",
      "ProfileId": "sample string 10"
    },
    {
      "AzUserServiceId": "sample string 1",
      "AzServiceId": 2,
      "Quantity": 3.0,
      "StartDate": "2021-07-28T18:05:08.0873557+03:00",
      "EndDate": "2021-07-28T18:05:08.0873557+03:00",
      "UsedQuantity": 6.0,
      "ServiceName": "sample string 7",
      "ServiceDesc": "sample string 8",
      "PaymentId": "sample string 9",
      "ProfileId": "sample string 10"
    }
  ],
  "ErrorCode": "sample string 1",
  "ErrorMessage": "sample string 2",
  "ErrorCategory": "sample string 3",
  "Result": true
}

application/xml, text/xml

Sample:
<GetUserServicesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Account.Response">
  <ErrorCategory xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 3</ErrorCategory>
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 1</ErrorCode>
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 2</ErrorMessage>
  <Result xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">true</Result>
  <UserServices xmlns:d2p1="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Account">
    <d2p1:UserService>
      <d2p1:AzServiceId>2</d2p1:AzServiceId>
      <d2p1:AzUserServiceId>sample string 1</d2p1:AzUserServiceId>
      <d2p1:EndDate>2021-07-28T18:05:08.0873557+03:00</d2p1:EndDate>
      <d2p1:PaymentId>sample string 9</d2p1:PaymentId>
      <d2p1:ProfileId>sample string 10</d2p1:ProfileId>
      <d2p1:Quantity>3</d2p1:Quantity>
      <d2p1:ServiceDesc>sample string 8</d2p1:ServiceDesc>
      <d2p1:ServiceName>sample string 7</d2p1:ServiceName>
      <d2p1:StartDate>2021-07-28T18:05:08.0873557+03:00</d2p1:StartDate>
      <d2p1:UsedQuantity>6</d2p1:UsedQuantity>
    </d2p1:UserService>
    <d2p1:UserService>
      <d2p1:AzServiceId>2</d2p1:AzServiceId>
      <d2p1:AzUserServiceId>sample string 1</d2p1:AzUserServiceId>
      <d2p1:EndDate>2021-07-28T18:05:08.0873557+03:00</d2p1:EndDate>
      <d2p1:PaymentId>sample string 9</d2p1:PaymentId>
      <d2p1:ProfileId>sample string 10</d2p1:ProfileId>
      <d2p1:Quantity>3</d2p1:Quantity>
      <d2p1:ServiceDesc>sample string 8</d2p1:ServiceDesc>
      <d2p1:ServiceName>sample string 7</d2p1:ServiceName>
      <d2p1:StartDate>2021-07-28T18:05:08.0873557+03:00</d2p1:StartDate>
      <d2p1:UsedQuantity>6</d2p1:UsedQuantity>
    </d2p1:UserService>
  </UserServices>
</GetUserServicesResponse>