GET api/Membership/GetDefaultMembership?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

Body Parameters

None.

Response Information

Resource Description

DefaultProductCategoryResponseModel
NameDescriptionTypeAdditional information
NextProductCategory

Pair of string [key] and string [value]

None.

NextProduct

Pair of string [key] and string [value]

None.

Result

ResponseResult

None.

Response Formats

application/json, text/json

Sample:
{
  "NextProductCategory": {
    "Key": "sample string 1",
    "Value": "sample string 2"
  },
  "NextProduct": {
    "Key": "sample string 1",
    "Value": "sample string 2"
  },
  "Result": {
    "Success": true,
    "Message": "sample string 2",
    "Errors": [
      {
        "Message": "sample string 1"
      },
      {
        "Message": "sample string 1"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<DefaultProductCategoryResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response">
  <Result>
    <Errors>
      <ErrorMessage>
        <Message>sample string 1</Message>
      </ErrorMessage>
      <ErrorMessage>
        <Message>sample string 1</Message>
      </ErrorMessage>
    </Errors>
    <Message>sample string 2</Message>
    <Success>true</Success>
  </Result>
  <NextProduct xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <d2p1:key>sample string 1</d2p1:key>
    <d2p1:value>sample string 2</d2p1:value>
  </NextProduct>
  <NextProductCategory xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <d2p1:key>sample string 1</d2p1:key>
    <d2p1:value>sample string 2</d2p1:value>
  </NextProductCategory>
</DefaultProductCategoryResponseModel>