POST api/OrderMaster/SaveOrderMaster

Request Information

URI Parameters

None.

Body Parameters

OrderMasterEntity
NameDescriptionTypeAdditional information
Flag

string

None.

Id

integer

None.

OrderName

string

None.

PhoneNo

string

None.

CategoryId

integer

None.

TotalAmount

string

None.

TotalTime

string

None.

ProfileId

integer

None.

OrderStatus

string

None.

UserId

integer

None.

IsActive

boolean

None.

TotalItem

integer

None.

InvoiceId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Flag": "sample string 1",
  "Id": 2,
  "OrderName": "sample string 3",
  "PhoneNo": "sample string 4",
  "CategoryId": 5,
  "TotalAmount": "sample string 6",
  "TotalTime": "sample string 7",
  "ProfileId": 8,
  "OrderStatus": "sample string 9",
  "UserId": 10,
  "IsActive": true,
  "TotalItem": 12,
  "InvoiceId": 13
}

application/xml, text/xml

Sample:
<OrderMasterEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VCINT_API.Models">
  <CategoryId>5</CategoryId>
  <Flag>sample string 1</Flag>
  <Id>2</Id>
  <InvoiceId>13</InvoiceId>
  <IsActive>true</IsActive>
  <OrderName>sample string 3</OrderName>
  <OrderStatus>sample string 9</OrderStatus>
  <PhoneNo>sample string 4</PhoneNo>
  <ProfileId>8</ProfileId>
  <TotalAmount>sample string 6</TotalAmount>
  <TotalItem>12</TotalItem>
  <TotalTime>sample string 7</TotalTime>
  <UserId>10</UserId>
</OrderMasterEntity>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrderMasterEntity'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.