GET api/OrderMaster/GetOrderMasterById/{Id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
OrderMasterName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
CountryId | integer |
None. |
|
StateId | integer |
None. |
|
CityId | integer |
None. |
|
UserId | integer |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
Mobile | string |
None. |
|
ShippingAddress | string |
None. |
|
Pincode | integer |
None. |
|
TotalAmount | decimal number |
None. |
|
Status | string |
None. |
|
PaymentMethod | string |
None. |
|
itemlist | Collection of OrderDetails |
None. |
|
CreatedBy | string |
None. |
|
CreatedDate | string |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedDate | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "CountryId": 2, "StateId": 3, "CityId": 4, "UserId": 5, "FirstName": "sample string 6", "LastName": "sample string 7", "Mobile": "sample string 8", "ShippingAddress": "sample string 9", "Pincode": 10, "TotalAmount": 11.0, "Status": "sample string 12", "PaymentMethod": "sample string 13", "itemlist": [ { "Id": 1, "OrderId": 2, "ProductId": 3, "Product": "sample string 4", "SizeId": 5, "Size": "sample string 6", "ColourId": 7, "Color": "sample string 8", "Quantity": "sample string 9", "Amount": 10.0, "Rate": 11.0 }, { "Id": 1, "OrderId": 2, "ProductId": 3, "Product": "sample string 4", "SizeId": 5, "Size": "sample string 6", "ColourId": 7, "Color": "sample string 8", "Quantity": "sample string 9", "Amount": 10.0, "Rate": 11.0 } ], "CreatedBy": "sample string 14", "CreatedDate": "sample string 15", "UpdatedBy": "sample string 16", "UpdatedDate": "sample string 17" }
application/xml, text/xml
Sample:
<OrderMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EcommerceWebApi.Models"> <CityId>4</CityId> <CountryId>2</CountryId> <CreatedBy>sample string 14</CreatedBy> <CreatedDate>sample string 15</CreatedDate> <FirstName>sample string 6</FirstName> <Id>1</Id> <LastName>sample string 7</LastName> <Mobile>sample string 8</Mobile> <PaymentMethod>sample string 13</PaymentMethod> <Pincode>10</Pincode> <ShippingAddress>sample string 9</ShippingAddress> <StateId>3</StateId> <Status>sample string 12</Status> <TotalAmount>11</TotalAmount> <UpdatedBy>sample string 16</UpdatedBy> <UpdatedDate>sample string 17</UpdatedDate> <UserId>5</UserId> <itemlist> <OrderDetails> <Amount>10</Amount> <Color>sample string 8</Color> <ColourId>7</ColourId> <Id>1</Id> <OrderId>2</OrderId> <Product>sample string 4</Product> <ProductId>3</ProductId> <Quantity>sample string 9</Quantity> <Rate>11</Rate> <Size>sample string 6</Size> <SizeId>5</SizeId> </OrderDetails> <OrderDetails> <Amount>10</Amount> <Color>sample string 8</Color> <ColourId>7</ColourId> <Id>1</Id> <OrderId>2</OrderId> <Product>sample string 4</Product> <ProductId>3</ProductId> <Quantity>sample string 9</Quantity> <Rate>11</Rate> <Size>sample string 6</Size> <SizeId>5</SizeId> </OrderDetails> </itemlist> </OrderMaster>