POST api/Cart/GetInfo

Documentation for 'GetInfo'.

Request Information

Parameters

NameDescriptionAdditional information
req
Documentation for 'req'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "PublicKey": "sample string 1",
  "Signature": "sample string 2",
  "ShoppingCartID": "sample string 3",
  "TimeStamp": "sample string 4",
  "DeviceID": "sample string 5"
}

application/xml, text/xml

Sample:
<RequestGetInfoModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PublicKey>sample string 1</PublicKey>
  <Signature>sample string 2</Signature>
  <ShoppingCartID>sample string 3</ShoppingCartID>
  <TimeStamp>sample string 4</TimeStamp>
  <DeviceID>sample string 5</DeviceID>
</RequestGetInfoModel>

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Detail": {
    "$id": "2",
    "CustomerID": "sample string 1",
    "CustomerName": "sample string 2",
    "CustomerAddress": "sample string 3",
    "CustomerCity": "sample string 4",
    "CustomerProvince": "sample string 5",
    "CustomerPostalCode": "sample string 6",
    "CustomerPhoneNo": "sample string 7",
    "CustomerEmail": "sample string 8",
    "CustomerMobileNo": "sample string 9",
    "ListSalesOrderDetail": [
      {
        "$id": "3",
        "PLU": "sample string 1",
        "Qty": "sample string 2",
        "Price": 3.0,
        "Description": "sample string 4",
        "Fee": 5.0,
        "PPN": 6.0,
        "Discount": 7.0,
        "SubTotal": 8.0
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ],
    "ShippingCost": 1.0
  },
  "DefaultErrorMessage": "sample string 1",
  "ResponseCode": "sample string 2",
  "PublicKey": "sample string 3",
  "ResponseMessage": "sample string 4",
  "TimeStamp": "sample string 5",
  "SalesOrderNo": "sample string 6",
  "Signature": "sample string 7",
  "TotalAmount": 1.0,
  "ShoppingCartID": "sample string 8",
  "VoucherList": [
    {
      "$id": "4",
      "Code": "sample string 1",
      "Amount": 1.0
    },
    {
      "$ref": "4"
    },
    {
      "$ref": "4"
    }
  ],
  "CouponList": [
    {
      "Code": "sample string 1",
      "Desc": "sample string 2",
      "Amount": 1.0,
      "SalesOrderNo": "sample string 3",
      "IsPromoPotonganTotal": true,
      "SalesType": 5,
      "KodeBin": "sample string 6"
    },
    {
      "Code": "sample string 1",
      "Desc": "sample string 2",
      "Amount": 1.0,
      "SalesOrderNo": "sample string 3",
      "IsPromoPotonganTotal": true,
      "SalesType": 5,
      "KodeBin": "sample string 6"
    },
    {
      "Code": "sample string 1",
      "Desc": "sample string 2",
      "Amount": 1.0,
      "SalesOrderNo": "sample string 3",
      "IsPromoPotonganTotal": true,
      "SalesType": 5,
      "KodeBin": "sample string 6"
    }
  ],
  "PaymentTypeList": [
    {
      "$id": "5",
      "Code": "sample string 1",
      "PaymentPlan": "sample string 2",
      "IsDisabled": true,
      "DiscountTotal": 4.0,
      "Info": "sample string 5",
      "LastTimePay": "sample string 6",
      "IsShowTimePay": true,
      "AdminFeeList": [
        {
          "$id": "6",
          "No": 1,
          "MinPaymentLayer": "sample string 2",
          "RpPaymentLayer": "sample string 3",
          "PercentPaymentLayer": "sample string 4"
        },
        {
          "$ref": "6"
        },
        {
          "$ref": "6"
        }
      ]
    },
    {
      "$ref": "5"
    },
    {
      "$ref": "5"
    }
  ],
  "SummaryInfoList": [
    {
      "$id": "7",
      "Text": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "$ref": "7"
    },
    {
      "$ref": "7"
    }
  ],
  "DM_NAME": "sample string 9"
}

application/xml, text/xml

Sample:
<ResponseGetInfoModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Detail>
    <CustomerID>sample string 1</CustomerID>
    <CustomerName>sample string 2</CustomerName>
    <CustomerAddress>sample string 3</CustomerAddress>
    <CustomerCity>sample string 4</CustomerCity>
    <CustomerProvince>sample string 5</CustomerProvince>
    <CustomerPostalCode>sample string 6</CustomerPostalCode>
    <CustomerPhoneNo>sample string 7</CustomerPhoneNo>
    <CustomerEmail>sample string 8</CustomerEmail>
    <CustomerMobileNo>sample string 9</CustomerMobileNo>
    <ListSalesOrderDetail>
      <ListSalesorderDetail>
        <PLU>sample string 1</PLU>
        <Qty>sample string 2</Qty>
        <Price>3</Price>
        <Description>sample string 4</Description>
        <Fee>5</Fee>
        <PPN>6</PPN>
        <Discount>7</Discount>
        <SubTotal>8</SubTotal>
      </ListSalesorderDetail>
      <ListSalesorderDetail>
        <PLU>sample string 1</PLU>
        <Qty>sample string 2</Qty>
        <Price>3</Price>
        <Description>sample string 4</Description>
        <Fee>5</Fee>
        <PPN>6</PPN>
        <Discount>7</Discount>
        <SubTotal>8</SubTotal>
      </ListSalesorderDetail>
      <ListSalesorderDetail>
        <PLU>sample string 1</PLU>
        <Qty>sample string 2</Qty>
        <Price>3</Price>
        <Description>sample string 4</Description>
        <Fee>5</Fee>
        <PPN>6</PPN>
        <Discount>7</Discount>
        <SubTotal>8</SubTotal>
      </ListSalesorderDetail>
    </ListSalesOrderDetail>
    <ShippingCost>1</ShippingCost>
  </Detail>
  <DefaultErrorMessage>sample string 1</DefaultErrorMessage>
  <ResponseCode>sample string 2</ResponseCode>
  <PublicKey>sample string 3</PublicKey>
  <ResponseMessage>sample string 4</ResponseMessage>
  <TimeStamp>sample string 5</TimeStamp>
  <SalesOrderNo>sample string 6</SalesOrderNo>
  <Signature>sample string 7</Signature>
  <TotalAmount>1</TotalAmount>
  <ShoppingCartID>sample string 8</ShoppingCartID>
  <VoucherList>
    <VoucherListModel>
      <Code>sample string 1</Code>
      <Amount>1</Amount>
    </VoucherListModel>
    <VoucherListModel>
      <Code>sample string 1</Code>
      <Amount>1</Amount>
    </VoucherListModel>
    <VoucherListModel>
      <Code>sample string 1</Code>
      <Amount>1</Amount>
    </VoucherListModel>
  </VoucherList>
  <CouponList>
    <CouponListModel>
      <Code>sample string 1</Code>
      <Desc>sample string 2</Desc>
      <Amount>1</Amount>
      <SalesOrderNo>sample string 3</SalesOrderNo>
      <IsPromoPotonganTotal>true</IsPromoPotonganTotal>
      <SalesType>5</SalesType>
      <KodeBin>sample string 6</KodeBin>
    </CouponListModel>
    <CouponListModel>
      <Code>sample string 1</Code>
      <Desc>sample string 2</Desc>
      <Amount>1</Amount>
      <SalesOrderNo>sample string 3</SalesOrderNo>
      <IsPromoPotonganTotal>true</IsPromoPotonganTotal>
      <SalesType>5</SalesType>
      <KodeBin>sample string 6</KodeBin>
    </CouponListModel>
    <CouponListModel>
      <Code>sample string 1</Code>
      <Desc>sample string 2</Desc>
      <Amount>1</Amount>
      <SalesOrderNo>sample string 3</SalesOrderNo>
      <IsPromoPotonganTotal>true</IsPromoPotonganTotal>
      <SalesType>5</SalesType>
      <KodeBin>sample string 6</KodeBin>
    </CouponListModel>
  </CouponList>
  <PaymentTypeList>
    <PaymentTypeTrans>
      <Code>sample string 1</Code>
      <PaymentPlan>sample string 2</PaymentPlan>
      <IsDisabled>true</IsDisabled>
      <DiscountTotal>4</DiscountTotal>
      <Info>sample string 5</Info>
      <LastTimePay>sample string 6</LastTimePay>
      <IsShowTimePay>true</IsShowTimePay>
      <AdminFeeList>
        <AdminFee>
          <No>1</No>
          <MinPaymentLayer>sample string 2</MinPaymentLayer>
          <RpPaymentLayer>sample string 3</RpPaymentLayer>
          <PercentPaymentLayer>sample string 4</PercentPaymentLayer>
        </AdminFee>
        <AdminFee>
          <No>1</No>
          <MinPaymentLayer>sample string 2</MinPaymentLayer>
          <RpPaymentLayer>sample string 3</RpPaymentLayer>
          <PercentPaymentLayer>sample string 4</PercentPaymentLayer>
        </AdminFee>
        <AdminFee>
          <No>1</No>
          <MinPaymentLayer>sample string 2</MinPaymentLayer>
          <RpPaymentLayer>sample string 3</RpPaymentLayer>
          <PercentPaymentLayer>sample string 4</PercentPaymentLayer>
        </AdminFee>
      </AdminFeeList>
    </PaymentTypeTrans>
    <PaymentTypeTrans>
      <Code>sample string 1</Code>
      <PaymentPlan>sample string 2</PaymentPlan>
      <IsDisabled>true</IsDisabled>
      <DiscountTotal>4</DiscountTotal>
      <Info>sample string 5</Info>
      <LastTimePay>sample string 6</LastTimePay>
      <IsShowTimePay>true</IsShowTimePay>
      <AdminFeeList>
        <AdminFee>
          <No>1</No>
          <MinPaymentLayer>sample string 2</MinPaymentLayer>
          <RpPaymentLayer>sample string 3</RpPaymentLayer>
          <PercentPaymentLayer>sample string 4</PercentPaymentLayer>
        </AdminFee>
        <AdminFee>
          <No>1</No>
          <MinPaymentLayer>sample string 2</MinPaymentLayer>
          <RpPaymentLayer>sample string 3</RpPaymentLayer>
          <PercentPaymentLayer>sample string 4</PercentPaymentLayer>
        </AdminFee>
        <AdminFee>
          <No>1</No>
          <MinPaymentLayer>sample string 2</MinPaymentLayer>
          <RpPaymentLayer>sample string 3</RpPaymentLayer>
          <PercentPaymentLayer>sample string 4</PercentPaymentLayer>
        </AdminFee>
      </AdminFeeList>
    </PaymentTypeTrans>
    <PaymentTypeTrans>
      <Code>sample string 1</Code>
      <PaymentPlan>sample string 2</PaymentPlan>
      <IsDisabled>true</IsDisabled>
      <DiscountTotal>4</DiscountTotal>
      <Info>sample string 5</Info>
      <LastTimePay>sample string 6</LastTimePay>
      <IsShowTimePay>true</IsShowTimePay>
      <AdminFeeList>
        <AdminFee>
          <No>1</No>
          <MinPaymentLayer>sample string 2</MinPaymentLayer>
          <RpPaymentLayer>sample string 3</RpPaymentLayer>
          <PercentPaymentLayer>sample string 4</PercentPaymentLayer>
        </AdminFee>
        <AdminFee>
          <No>1</No>
          <MinPaymentLayer>sample string 2</MinPaymentLayer>
          <RpPaymentLayer>sample string 3</RpPaymentLayer>
          <PercentPaymentLayer>sample string 4</PercentPaymentLayer>
        </AdminFee>
        <AdminFee>
          <No>1</No>
          <MinPaymentLayer>sample string 2</MinPaymentLayer>
          <RpPaymentLayer>sample string 3</RpPaymentLayer>
          <PercentPaymentLayer>sample string 4</PercentPaymentLayer>
        </AdminFee>
      </AdminFeeList>
    </PaymentTypeTrans>
  </PaymentTypeList>
  <SummaryInfoList>
    <SummaryInfo>
      <Text>sample string 1</Text>
      <Value>sample string 2</Value>
    </SummaryInfo>
    <SummaryInfo>
      <Text>sample string 1</Text>
      <Value>sample string 2</Value>
    </SummaryInfo>
    <SummaryInfo>
      <Text>sample string 1</Text>
      <Value>sample string 2</Value>
    </SummaryInfo>
  </SummaryInfoList>
  <DM_NAME>sample string 9</DM_NAME>
</ResponseGetInfoModel>