POST GetProductById

Request Information

URI Parameters

None.

Body Parameters

GetProduct
NameDescriptionTypeAdditional information
UserInfo

UserData

None.

ProductId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserInfo": {
    "UserId": "sample string 1",
    "Token": "sample string 2",
    "App_Key": "sample string 3"
  },
  "ProductId": "sample string 1"
}

application/xml, text/xml

Sample:
<GetProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileServices.Controllers">
  <ProductId>sample string 1</ProductId>
  <UserInfo>
    <App_Key>sample string 3</App_Key>
    <Token>sample string 2</Token>
    <UserId>sample string 1</UserId>
  </UserInfo>
</GetProduct>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetProduct'.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

Response

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Response": "sample string 3"
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileServices">
  <Message>sample string 2</Message>
  <Response>sample string 3</Response>
  <Status>1</Status>
</Result>