POST api/ProductManagement/PurchaseOrderTemp

Request Information

URI Parameters

None.

Body Parameters

MarketerPurchaseOrderMasterTemp
NamedescriptionTypeAdditional information
AffiliateCompanySysID

integer

None.

First_Name

string

None.

Last_Name

string

None.

Address1

string

None.

Address2

string

None.

Distric

integer

None.

Country

integer

None.

Street

string

None.

City

string

None.

State

integer

None.

PinCode

integer

None.

Email

string

None.

Phone

string

None.

Mobile

string

None.

TXNID

string

None.

AddressType

string

None.

OrderAmount

string

None.

CourierCharge

string

None.

TotalAmount

string

None.

ShoppingAddressSysID

integer

None.

cartList

Collection of MarketerPurchaseOrderTransTemp

None.

Request Formats

application/json, text/json

Sample:
{
  "Address1": "sample string 4",
  "Address2": "sample string 5",
  "AddressType": "sample string 16",
  "AffiliateCompanySysID": 1,
  "City": "sample string 9",
  "Country": 7,
  "CourierCharge": "sample string 18",
  "Distric": 6,
  "Email": "sample string 12",
  "First_Name": "sample string 2",
  "Last_Name": "sample string 3",
  "Mobile": "sample string 14",
  "OrderAmount": "sample string 17",
  "Phone": "sample string 13",
  "PinCode": 11,
  "ShoppingAddressSysID": 20,
  "State": 10,
  "Street": "sample string 8",
  "TXNID": "sample string 15",
  "TotalAmount": "sample string 19",
  "cartList": [
    {
      "Cost": "sample string 3",
      "Name": "sample string 2",
      "ProductSysID": "sample string 1",
      "Qty": "sample string 5",
      "SalesCost": "sample string 4",
      "TotalAmount": "sample string 6"
    },
    {
      "Cost": "sample string 3",
      "Name": "sample string 2",
      "ProductSysID": "sample string 1",
      "Qty": "sample string 5",
      "SalesCost": "sample string 4",
      "TotalAmount": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<MarketerPurchaseOrderMasterTemp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Product">
  <Address1>sample string 4</Address1>
  <Address2>sample string 5</Address2>
  <AddressType>sample string 16</AddressType>
  <AffiliateCompanySysID>1</AffiliateCompanySysID>
  <City>sample string 9</City>
  <Country>7</Country>
  <CourierCharge>sample string 18</CourierCharge>
  <Distric>6</Distric>
  <Email>sample string 12</Email>
  <First_Name>sample string 2</First_Name>
  <Last_Name>sample string 3</Last_Name>
  <Mobile>sample string 14</Mobile>
  <OrderAmount>sample string 17</OrderAmount>
  <Phone>sample string 13</Phone>
  <PinCode>11</PinCode>
  <ShoppingAddressSysID>20</ShoppingAddressSysID>
  <State>10</State>
  <Street>sample string 8</Street>
  <TXNID>sample string 15</TXNID>
  <TotalAmount>sample string 19</TotalAmount>
  <cartList>
    <MarketerPurchaseOrderTransTemp>
      <Cost>sample string 3</Cost>
      <Name>sample string 2</Name>
      <ProductSysID>sample string 1</ProductSysID>
      <Qty>sample string 5</Qty>
      <SalesCost>sample string 4</SalesCost>
      <TotalAmount>sample string 6</TotalAmount>
    </MarketerPurchaseOrderTransTemp>
    <MarketerPurchaseOrderTransTemp>
      <Cost>sample string 3</Cost>
      <Name>sample string 2</Name>
      <ProductSysID>sample string 1</ProductSysID>
      <Qty>sample string 5</Qty>
      <SalesCost>sample string 4</SalesCost>
      <TotalAmount>sample string 6</TotalAmount>
    </MarketerPurchaseOrderTransTemp>
  </cartList>
</MarketerPurchaseOrderMasterTemp>

response Information

Resource description

ApiResponse
NamedescriptionTypeAdditional information
response

string

Required

failure

MlError

None.

success

MlSuccess

None.