POST api/orderitemspost

Request Information

URI Parameters

None.

Body Parameters

Collection of OrderItem
NameDescriptionTypeAdditional information
Id

string

None.

NumId

integer

None.

OrderId

string

None.

OrderNav

Order

None.

ProductId

string

None.

ProductNav

Product

None.

Quantity

string

None.

AttributeId

string

None.

TotalAmount

string

None.

BookType

string

None.

IsRent

boolean

None.

PurchasedTime

date

None.

Month

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "NumId": 2,
    "OrderId": "sample string 3",
    "OrderNav": {
      "Id": "sample string 1",
      "NumId": 2,
      "Name": "sample string 3",
      "Number": "sample string 4",
      "Address": "sample string 5",
      "City": "sample string 6",
      "State": "sample string 7",
      "PinCode": "sample string 8",
      "Email": "sample string 9",
      "PurchaseTime": "sample string 10",
      "CouponName": "sample string 11",
      "CouponAmount": "sample string 12",
      "PriceBeforeDiscount": "sample string 13",
      "PriceAfterDiscount": "sample string 14",
      "Status": "sample string 15",
      "ShippingDetail": "sample string 16",
      "Note": "sample string 17",
      "Product": "sample string 18",
      "Paymentstatus": "sample string 19",
      "UserId": "sample string 20",
      "Platform": "sample string 21"
    },
    "ProductId": "sample string 4",
    "ProductNav": {
      "Id": "sample string 1",
      "NumId": 2,
      "Name": "sample string 3",
      "ActualPrice": "sample string 4",
      "BookCode": "sample string 5",
      "ISBN": "sample string 6",
      "SalePrice": "sample string 7",
      "ShortDescription": "sample string 8",
      "LongDescription": "sample string 9",
      "FeaturedImage": "sample string 10",
      "Gallery1": "sample string 11",
      "Gallery2": "sample string 12",
      "Gallery3": "sample string 13",
      "Gallery4": "sample string 14",
      "Visibility": 15,
      "Ebook_file": "sample string 16",
      "Sample_Ebook_file": "sample string 17",
      "Rent_price": "sample string 18",
      "Ebook_price": "sample string 19",
      "Physical_Ebook_price": "sample string 20",
      "Ebook_link": "sample string 21",
      "Feature": 22,
      "AttributeGroup": "sample string 23",
      "AttributeGroupNav": {
        "Id": "sample string 1",
        "NumId": 2,
        "Name": "sample string 3"
      },
      "CategoryName1": "sample string 24",
      "CategoryNav1": {
        "Id": "sample string 1",
        "NumId": 2,
        "Name": "sample string 3"
      },
      "CategoryName2": "sample string 25",
      "CategoryNav2": {
        "Id": "sample string 1",
        "NumId": 2,
        "Name": "sample string 3"
      },
      "CategoryName3": "sample string 26",
      "CategoryNav3": {
        "Id": "sample string 1",
        "NumId": 2,
        "Name": "sample string 3"
      },
      "CategoryName4": "sample string 27",
      "CategoryNav4": {
        "Id": "sample string 1",
        "NumId": 2,
        "Name": "sample string 3"
      },
      "CategoryName5": "sample string 28",
      "CategoryNav5": {
        "Id": "sample string 1",
        "NumId": 2,
        "Name": "sample string 3"
      },
      "CategoryName6": "sample string 29",
      "CategoryNav6": {
        "Id": "sample string 1",
        "NumId": 2,
        "Name": "sample string 3"
      },
      "AuthorName1": "sample string 30",
      "AuthorNav1": {
        "Id": "sample string 1",
        "NumId": 2,
        "AuthorName": "sample string 3",
        "MobileNo": "sample string 4",
        "EmailId": "sample string 5",
        "Content": "sample string 6",
        "Image": "sample string 7",
        "Index": 8
      },
      "AuthorName2": "sample string 31",
      "AuthorNav2": {
        "Id": "sample string 1",
        "NumId": 2,
        "AuthorName": "sample string 3",
        "MobileNo": "sample string 4",
        "EmailId": "sample string 5",
        "Content": "sample string 6",
        "Image": "sample string 7",
        "Index": 8
      },
      "AuthorName3": "sample string 32",
      "AuthorNav3": {
        "Id": "sample string 1",
        "NumId": 2,
        "AuthorName": "sample string 3",
        "MobileNo": "sample string 4",
        "EmailId": "sample string 5",
        "Content": "sample string 6",
        "Image": "sample string 7",
        "Index": 8
      },
      "AuthorName4": "sample string 33",
      "AuthorNav4": {
        "Id": "sample string 1",
        "NumId": 2,
        "AuthorName": "sample string 3",
        "MobileNo": "sample string 4",
        "EmailId": "sample string 5",
        "Content": "sample string 6",
        "Image": "sample string 7",
        "Index": 8
      },
      "AuthorName5": "sample string 34",
      "AuthorNav5": {
        "Id": "sample string 1",
        "NumId": 2,
        "AuthorName": "sample string 3",
        "MobileNo": "sample string 4",
        "EmailId": "sample string 5",
        "Content": "sample string 6",
        "Image": "sample string 7",
        "Index": 8
      },
      "Semester": "sample string 35"
    },
    "Quantity": "sample string 5",
    "AttributeId": "sample string 6",
    "TotalAmount": "sample string 7",
    "BookType": "sample string 8",
    "IsRent": true,
    "PurchasedTime": "2024-11-21T15:33:49.222058+05:30",
    "Month": "sample string 11"
  },
  {
    "Id": "sample string 1",
    "NumId": 2,
    "OrderId": "sample string 3",
    "OrderNav": {
      "Id": "sample string 1",
      "NumId": 2,
      "Name": "sample string 3",
      "Number": "sample string 4",
      "Address": "sample string 5",
      "City": "sample string 6",
      "State": "sample string 7",
      "PinCode": "sample string 8",
      "Email": "sample string 9",
      "PurchaseTime": "sample string 10",
      "CouponName": "sample string 11",
      "CouponAmount": "sample string 12",
      "PriceBeforeDiscount": "sample string 13",
      "PriceAfterDiscount": "sample string 14",
      "Status": "sample string 15",
      "ShippingDetail": "sample string 16",
      "Note": "sample string 17",
      "Product": "sample string 18",
      "Paymentstatus": "sample string 19",
      "UserId": "sample string 20",
      "Platform": "sample string 21"
    },
    "ProductId": "sample string 4",
    "ProductNav": {
      "Id": "sample string 1",
      "NumId": 2,
      "Name": "sample string 3",
      "ActualPrice": "sample string 4",
      "BookCode": "sample string 5",
      "ISBN": "sample string 6",
      "SalePrice": "sample string 7",
      "ShortDescription": "sample string 8",
      "LongDescription": "sample string 9",
      "FeaturedImage": "sample string 10",
      "Gallery1": "sample string 11",
      "Gallery2": "sample string 12",
      "Gallery3": "sample string 13",
      "Gallery4": "sample string 14",
      "Visibility": 15,
      "Ebook_file": "sample string 16",
      "Sample_Ebook_file": "sample string 17",
      "Rent_price": "sample string 18",
      "Ebook_price": "sample string 19",
      "Physical_Ebook_price": "sample string 20",
      "Ebook_link": "sample string 21",
      "Feature": 22,
      "AttributeGroup": "sample string 23",
      "AttributeGroupNav": {
        "Id": "sample string 1",
        "NumId": 2,
        "Name": "sample string 3"
      },
      "CategoryName1": "sample string 24",
      "CategoryNav1": {
        "Id": "sample string 1",
        "NumId": 2,
        "Name": "sample string 3"
      },
      "CategoryName2": "sample string 25",
      "CategoryNav2": {
        "Id": "sample string 1",
        "NumId": 2,
        "Name": "sample string 3"
      },
      "CategoryName3": "sample string 26",
      "CategoryNav3": {
        "Id": "sample string 1",
        "NumId": 2,
        "Name": "sample string 3"
      },
      "CategoryName4": "sample string 27",
      "CategoryNav4": {
        "Id": "sample string 1",
        "NumId": 2,
        "Name": "sample string 3"
      },
      "CategoryName5": "sample string 28",
      "CategoryNav5": {
        "Id": "sample string 1",
        "NumId": 2,
        "Name": "sample string 3"
      },
      "CategoryName6": "sample string 29",
      "CategoryNav6": {
        "Id": "sample string 1",
        "NumId": 2,
        "Name": "sample string 3"
      },
      "AuthorName1": "sample string 30",
      "AuthorNav1": {
        "Id": "sample string 1",
        "NumId": 2,
        "AuthorName": "sample string 3",
        "MobileNo": "sample string 4",
        "EmailId": "sample string 5",
        "Content": "sample string 6",
        "Image": "sample string 7",
        "Index": 8
      },
      "AuthorName2": "sample string 31",
      "AuthorNav2": {
        "Id": "sample string 1",
        "NumId": 2,
        "AuthorName": "sample string 3",
        "MobileNo": "sample string 4",
        "EmailId": "sample string 5",
        "Content": "sample string 6",
        "Image": "sample string 7",
        "Index": 8
      },
      "AuthorName3": "sample string 32",
      "AuthorNav3": {
        "Id": "sample string 1",
        "NumId": 2,
        "AuthorName": "sample string 3",
        "MobileNo": "sample string 4",
        "EmailId": "sample string 5",
        "Content": "sample string 6",
        "Image": "sample string 7",
        "Index": 8
      },
      "AuthorName4": "sample string 33",
      "AuthorNav4": {
        "Id": "sample string 1",
        "NumId": 2,
        "AuthorName": "sample string 3",
        "MobileNo": "sample string 4",
        "EmailId": "sample string 5",
        "Content": "sample string 6",
        "Image": "sample string 7",
        "Index": 8
      },
      "AuthorName5": "sample string 34",
      "AuthorNav5": {
        "Id": "sample string 1",
        "NumId": 2,
        "AuthorName": "sample string 3",
        "MobileNo": "sample string 4",
        "EmailId": "sample string 5",
        "Content": "sample string 6",
        "Image": "sample string 7",
        "Index": 8
      },
      "Semester": "sample string 35"
    },
    "Quantity": "sample string 5",
    "AttributeId": "sample string 6",
    "TotalAmount": "sample string 7",
    "BookType": "sample string 8",
    "IsRent": true,
    "PurchasedTime": "2024-11-21T15:33:49.222058+05:30",
    "Month": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrderItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asian_pubishers_API.Models">
  <OrderItem>
    <AttributeId>sample string 6</AttributeId>
    <BookType>sample string 8</BookType>
    <Id>sample string 1</Id>
    <IsRent>true</IsRent>
    <Month>sample string 11</Month>
    <NumId>2</NumId>
    <OrderId>sample string 3</OrderId>
    <OrderNav>
      <Address>sample string 5</Address>
      <City>sample string 6</City>
      <CouponAmount>sample string 12</CouponAmount>
      <CouponName>sample string 11</CouponName>
      <Email>sample string 9</Email>
      <Id>sample string 1</Id>
      <Name>sample string 3</Name>
      <Note>sample string 17</Note>
      <NumId>2</NumId>
      <Number>sample string 4</Number>
      <Paymentstatus>sample string 19</Paymentstatus>
      <PinCode>sample string 8</PinCode>
      <Platform>sample string 21</Platform>
      <PriceAfterDiscount>sample string 14</PriceAfterDiscount>
      <PriceBeforeDiscount>sample string 13</PriceBeforeDiscount>
      <Product>sample string 18</Product>
      <PurchaseTime>sample string 10</PurchaseTime>
      <ShippingDetail>sample string 16</ShippingDetail>
      <State>sample string 7</State>
      <Status>sample string 15</Status>
      <UserId>sample string 20</UserId>
    </OrderNav>
    <ProductId>sample string 4</ProductId>
    <ProductNav>
      <ActualPrice>sample string 4</ActualPrice>
      <AttributeGroup>sample string 23</AttributeGroup>
      <AttributeGroupNav>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
        <NumId>2</NumId>
      </AttributeGroupNav>
      <AuthorName1>sample string 30</AuthorName1>
      <AuthorName2>sample string 31</AuthorName2>
      <AuthorName3>sample string 32</AuthorName3>
      <AuthorName4>sample string 33</AuthorName4>
      <AuthorName5>sample string 34</AuthorName5>
      <AuthorNav1>
        <AuthorName>sample string 3</AuthorName>
        <Content>sample string 6</Content>
        <EmailId>sample string 5</EmailId>
        <Id>sample string 1</Id>
        <Image>sample string 7</Image>
        <Index>8</Index>
        <MobileNo>sample string 4</MobileNo>
        <NumId>2</NumId>
      </AuthorNav1>
      <AuthorNav2>
        <AuthorName>sample string 3</AuthorName>
        <Content>sample string 6</Content>
        <EmailId>sample string 5</EmailId>
        <Id>sample string 1</Id>
        <Image>sample string 7</Image>
        <Index>8</Index>
        <MobileNo>sample string 4</MobileNo>
        <NumId>2</NumId>
      </AuthorNav2>
      <AuthorNav3>
        <AuthorName>sample string 3</AuthorName>
        <Content>sample string 6</Content>
        <EmailId>sample string 5</EmailId>
        <Id>sample string 1</Id>
        <Image>sample string 7</Image>
        <Index>8</Index>
        <MobileNo>sample string 4</MobileNo>
        <NumId>2</NumId>
      </AuthorNav3>
      <AuthorNav4>
        <AuthorName>sample string 3</AuthorName>
        <Content>sample string 6</Content>
        <EmailId>sample string 5</EmailId>
        <Id>sample string 1</Id>
        <Image>sample string 7</Image>
        <Index>8</Index>
        <MobileNo>sample string 4</MobileNo>
        <NumId>2</NumId>
      </AuthorNav4>
      <AuthorNav5>
        <AuthorName>sample string 3</AuthorName>
        <Content>sample string 6</Content>
        <EmailId>sample string 5</EmailId>
        <Id>sample string 1</Id>
        <Image>sample string 7</Image>
        <Index>8</Index>
        <MobileNo>sample string 4</MobileNo>
        <NumId>2</NumId>
      </AuthorNav5>
      <BookCode>sample string 5</BookCode>
      <CategoryName1>sample string 24</CategoryName1>
      <CategoryName2>sample string 25</CategoryName2>
      <CategoryName3>sample string 26</CategoryName3>
      <CategoryName4>sample string 27</CategoryName4>
      <CategoryName5>sample string 28</CategoryName5>
      <CategoryName6>sample string 29</CategoryName6>
      <CategoryNav1>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
        <NumId>2</NumId>
      </CategoryNav1>
      <CategoryNav2>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
        <NumId>2</NumId>
      </CategoryNav2>
      <CategoryNav3>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
        <NumId>2</NumId>
      </CategoryNav3>
      <CategoryNav4>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
        <NumId>2</NumId>
      </CategoryNav4>
      <CategoryNav5>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
        <NumId>2</NumId>
      </CategoryNav5>
      <CategoryNav6>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
        <NumId>2</NumId>
      </CategoryNav6>
      <Ebook_file>sample string 16</Ebook_file>
      <Ebook_link>sample string 21</Ebook_link>
      <Ebook_price>sample string 19</Ebook_price>
      <Feature>22</Feature>
      <FeaturedImage>sample string 10</FeaturedImage>
      <Gallery1>sample string 11</Gallery1>
      <Gallery2>sample string 12</Gallery2>
      <Gallery3>sample string 13</Gallery3>
      <Gallery4>sample string 14</Gallery4>
      <ISBN>sample string 6</ISBN>
      <Id>sample string 1</Id>
      <LongDescription>sample string 9</LongDescription>
      <Name>sample string 3</Name>
      <NumId>2</NumId>
      <Physical_Ebook_price>sample string 20</Physical_Ebook_price>
      <Rent_price>sample string 18</Rent_price>
      <SalePrice>sample string 7</SalePrice>
      <Sample_Ebook_file>sample string 17</Sample_Ebook_file>
      <Semester>sample string 35</Semester>
      <ShortDescription>sample string 8</ShortDescription>
      <Visibility>15</Visibility>
    </ProductNav>
    <PurchasedTime>2024-11-21T15:33:49.222058+05:30</PurchasedTime>
    <Quantity>sample string 5</Quantity>
    <TotalAmount>sample string 7</TotalAmount>
  </OrderItem>
  <OrderItem>
    <AttributeId>sample string 6</AttributeId>
    <BookType>sample string 8</BookType>
    <Id>sample string 1</Id>
    <IsRent>true</IsRent>
    <Month>sample string 11</Month>
    <NumId>2</NumId>
    <OrderId>sample string 3</OrderId>
    <OrderNav>
      <Address>sample string 5</Address>
      <City>sample string 6</City>
      <CouponAmount>sample string 12</CouponAmount>
      <CouponName>sample string 11</CouponName>
      <Email>sample string 9</Email>
      <Id>sample string 1</Id>
      <Name>sample string 3</Name>
      <Note>sample string 17</Note>
      <NumId>2</NumId>
      <Number>sample string 4</Number>
      <Paymentstatus>sample string 19</Paymentstatus>
      <PinCode>sample string 8</PinCode>
      <Platform>sample string 21</Platform>
      <PriceAfterDiscount>sample string 14</PriceAfterDiscount>
      <PriceBeforeDiscount>sample string 13</PriceBeforeDiscount>
      <Product>sample string 18</Product>
      <PurchaseTime>sample string 10</PurchaseTime>
      <ShippingDetail>sample string 16</ShippingDetail>
      <State>sample string 7</State>
      <Status>sample string 15</Status>
      <UserId>sample string 20</UserId>
    </OrderNav>
    <ProductId>sample string 4</ProductId>
    <ProductNav>
      <ActualPrice>sample string 4</ActualPrice>
      <AttributeGroup>sample string 23</AttributeGroup>
      <AttributeGroupNav>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
        <NumId>2</NumId>
      </AttributeGroupNav>
      <AuthorName1>sample string 30</AuthorName1>
      <AuthorName2>sample string 31</AuthorName2>
      <AuthorName3>sample string 32</AuthorName3>
      <AuthorName4>sample string 33</AuthorName4>
      <AuthorName5>sample string 34</AuthorName5>
      <AuthorNav1>
        <AuthorName>sample string 3</AuthorName>
        <Content>sample string 6</Content>
        <EmailId>sample string 5</EmailId>
        <Id>sample string 1</Id>
        <Image>sample string 7</Image>
        <Index>8</Index>
        <MobileNo>sample string 4</MobileNo>
        <NumId>2</NumId>
      </AuthorNav1>
      <AuthorNav2>
        <AuthorName>sample string 3</AuthorName>
        <Content>sample string 6</Content>
        <EmailId>sample string 5</EmailId>
        <Id>sample string 1</Id>
        <Image>sample string 7</Image>
        <Index>8</Index>
        <MobileNo>sample string 4</MobileNo>
        <NumId>2</NumId>
      </AuthorNav2>
      <AuthorNav3>
        <AuthorName>sample string 3</AuthorName>
        <Content>sample string 6</Content>
        <EmailId>sample string 5</EmailId>
        <Id>sample string 1</Id>
        <Image>sample string 7</Image>
        <Index>8</Index>
        <MobileNo>sample string 4</MobileNo>
        <NumId>2</NumId>
      </AuthorNav3>
      <AuthorNav4>
        <AuthorName>sample string 3</AuthorName>
        <Content>sample string 6</Content>
        <EmailId>sample string 5</EmailId>
        <Id>sample string 1</Id>
        <Image>sample string 7</Image>
        <Index>8</Index>
        <MobileNo>sample string 4</MobileNo>
        <NumId>2</NumId>
      </AuthorNav4>
      <AuthorNav5>
        <AuthorName>sample string 3</AuthorName>
        <Content>sample string 6</Content>
        <EmailId>sample string 5</EmailId>
        <Id>sample string 1</Id>
        <Image>sample string 7</Image>
        <Index>8</Index>
        <MobileNo>sample string 4</MobileNo>
        <NumId>2</NumId>
      </AuthorNav5>
      <BookCode>sample string 5</BookCode>
      <CategoryName1>sample string 24</CategoryName1>
      <CategoryName2>sample string 25</CategoryName2>
      <CategoryName3>sample string 26</CategoryName3>
      <CategoryName4>sample string 27</CategoryName4>
      <CategoryName5>sample string 28</CategoryName5>
      <CategoryName6>sample string 29</CategoryName6>
      <CategoryNav1>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
        <NumId>2</NumId>
      </CategoryNav1>
      <CategoryNav2>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
        <NumId>2</NumId>
      </CategoryNav2>
      <CategoryNav3>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
        <NumId>2</NumId>
      </CategoryNav3>
      <CategoryNav4>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
        <NumId>2</NumId>
      </CategoryNav4>
      <CategoryNav5>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
        <NumId>2</NumId>
      </CategoryNav5>
      <CategoryNav6>
        <Id>sample string 1</Id>
        <Name>sample string 3</Name>
        <NumId>2</NumId>
      </CategoryNav6>
      <Ebook_file>sample string 16</Ebook_file>
      <Ebook_link>sample string 21</Ebook_link>
      <Ebook_price>sample string 19</Ebook_price>
      <Feature>22</Feature>
      <FeaturedImage>sample string 10</FeaturedImage>
      <Gallery1>sample string 11</Gallery1>
      <Gallery2>sample string 12</Gallery2>
      <Gallery3>sample string 13</Gallery3>
      <Gallery4>sample string 14</Gallery4>
      <ISBN>sample string 6</ISBN>
      <Id>sample string 1</Id>
      <LongDescription>sample string 9</LongDescription>
      <Name>sample string 3</Name>
      <NumId>2</NumId>
      <Physical_Ebook_price>sample string 20</Physical_Ebook_price>
      <Rent_price>sample string 18</Rent_price>
      <SalePrice>sample string 7</SalePrice>
      <Sample_Ebook_file>sample string 17</Sample_Ebook_file>
      <Semester>sample string 35</Semester>
      <ShortDescription>sample string 8</ShortDescription>
      <Visibility>15</Visibility>
    </ProductNav>
    <PurchasedTime>2024-11-21T15:33:49.222058+05:30</PurchasedTime>
    <Quantity>sample string 5</Quantity>
    <TotalAmount>sample string 7</TotalAmount>
  </OrderItem>
</ArrayOfOrderItem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.