POST api/MrpApi/Post_mrp_for_save_delete

Request Information

URI Parameters

None.

Body Parameters

clsMrp
NameDescriptionTypeAdditional information
mrpid

string

None.

ItemId

string

None.

ItemName

string

None.

PackName

string

None.

Shade

string

None.

ShadeName

string

None.

Mrp

string

None.

BatchNo

string

None.

PurchaseRate

string

None.

SRateDealer

string

None.

SRateRetailer

string

None.

Margin

string

None.

Expiry

string

None.

Database

string

None.

Compcode

string

None.

EventType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "mrpid": "sample string 1",
  "ItemId": "sample string 2",
  "ItemName": "sample string 3",
  "PackName": "sample string 4",
  "Shade": "sample string 5",
  "ShadeName": "sample string 6",
  "Mrp": "sample string 7",
  "BatchNo": "sample string 8",
  "PurchaseRate": "sample string 9",
  "SRateDealer": "sample string 10",
  "SRateRetailer": "sample string 11",
  "Margin": "sample string 12",
  "Expiry": "sample string 13",
  "Database": "sample string 14",
  "Compcode": "sample string 15",
  "EventType": "sample string 16"
}

application/xml, text/xml

Sample:
<clsMrp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <BatchNo>sample string 8</BatchNo>
  <Compcode>sample string 15</Compcode>
  <Database>sample string 14</Database>
  <EventType>sample string 16</EventType>
  <Expiry>sample string 13</Expiry>
  <ItemId>sample string 2</ItemId>
  <ItemName>sample string 3</ItemName>
  <Margin>sample string 12</Margin>
  <Mrp>sample string 7</Mrp>
  <PackName>sample string 4</PackName>
  <PurchaseRate>sample string 9</PurchaseRate>
  <SRateDealer>sample string 10</SRateDealer>
  <SRateRetailer>sample string 11</SRateRetailer>
  <Shade>sample string 5</Shade>
  <ShadeName>sample string 6</ShadeName>
  <mrpid>sample string 1</mrpid>
</clsMrp>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
status

boolean

None.

statuscode

HttpStatusCode

None.

title

string

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "statuscode": 100,
  "title": "sample string 2",
  "message": "sample string 3",
  "data": {}
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <data />
  <message>sample string 3</message>
  <status>true</status>
  <statuscode>Continue</statuscode>
  <title>sample string 2</title>
</ApiResponse>