GET api/Product/GetProductDetails?productId={productId}&appUserId={appUserId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productId

globally unique identifier

Required

appUserId

string

Required

Body Parameters

None.

Response Information

Resource Description

ProductResponseModel
NameDescriptionTypeAdditional information
Id

string

None.

Name

string

None.

Description

string

None.

Qty

integer

None.

UnitPrice

decimal number

None.

TotalPrice

decimal number

None.

FinalAmountToBePaid

decimal number

None.

PriceBreakdown

Collection of PriceResponseModel

None.

Result

ResponseResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Name": "sample string 2",
  "Description": "sample string 3",
  "Qty": 4,
  "UnitPrice": 5.0,
  "TotalPrice": 6.0,
  "FinalAmountToBePaid": 1.0,
  "PriceBreakdown": [
    {
      "Amount": 1.0,
      "FeeType": "sample string 2",
      "Result": {
        "Success": true,
        "Message": "sample string 2",
        "Errors": [
          {
            "Message": "sample string 1"
          },
          {
            "Message": "sample string 1"
          }
        ]
      }
    },
    {
      "Amount": 1.0,
      "FeeType": "sample string 2",
      "Result": {
        "Success": true,
        "Message": "sample string 2",
        "Errors": [
          {
            "Message": "sample string 1"
          },
          {
            "Message": "sample string 1"
          }
        ]
      }
    }
  ],
  "Result": {
    "Success": true,
    "Message": "sample string 2",
    "Errors": [
      {
        "Message": "sample string 1"
      },
      {
        "Message": "sample string 1"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ProductResponseModel 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>
  <Description>sample string 3</Description>
  <FinalAmountToBePaid>1</FinalAmountToBePaid>
  <Id>sample string 1</Id>
  <Name>sample string 2</Name>
  <PriceBreakdown>
    <PriceResponseModel>
      <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>
      <Amount>1</Amount>
      <FeeType>sample string 2</FeeType>
    </PriceResponseModel>
    <PriceResponseModel>
      <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>
      <Amount>1</Amount>
      <FeeType>sample string 2</FeeType>
    </PriceResponseModel>
  </PriceBreakdown>
  <Qty>4</Qty>
  <TotalPrice>6</TotalPrice>
  <UnitPrice>5</UnitPrice>
</ProductResponseModel>