POST fruitsapi/saveorupdatemyorder

Request Information

URI Parameters

None.

Body Parameters

Myorder
NameDescriptionTypeAdditional information
Id

integer

None.

CompanyId

integer

None.

BranchId

integer

None.

PartyId

string

None.

ProdId

string

None.

Billno

string

None.

BillDate

date

None.

Qty

decimal number

None.

Weight

decimal number

None.

NewtWeight

decimal number

None.

SelRate

decimal number

None.

Vat

decimal number

None.

VatVal

decimal number

None.

Discper

decimal number

None.

DiscCash

decimal number

None.

Amount

decimal number

None.

Cancel

string

None.

Hsncode

date

None.

UpTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CompanyId": 2,
  "BranchId": 3,
  "PartyId": "sample string 4",
  "ProdId": "sample string 5",
  "Billno": "sample string 6",
  "BillDate": "2025-12-06T04:02:01.0590671+00:00",
  "Qty": 8.0,
  "Weight": 9.0,
  "NewtWeight": 10.0,
  "SelRate": 11.0,
  "Vat": 12.0,
  "VatVal": 13.0,
  "Discper": 14.0,
  "DiscCash": 15.0,
  "Amount": 16.0,
  "Cancel": "sample string 17",
  "Hsncode": "2025-12-06T04:02:01.0590671+00:00",
  "UpTime": "2025-12-06T04:02:01.0590671+00:00"
}

text/html

Sample:
{"Id":1,"CompanyId":2,"BranchId":3,"PartyId":"sample string 4","ProdId":"sample string 5","Billno":"sample string 6","BillDate":"2025-12-06T04:02:01.0590671+00:00","Qty":8.0,"Weight":9.0,"NewtWeight":10.0,"SelRate":11.0,"Vat":12.0,"VatVal":13.0,"Discper":14.0,"DiscCash":15.0,"Amount":16.0,"Cancel":"sample string 17","Hsncode":"2025-12-06T04:02:01.0590671+00:00","UpTime":"2025-12-06T04:02:01.0590671+00:00"}

application/xml, text/xml

Sample:
<Myorder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FruitsApi.Models">
  <Amount>16</Amount>
  <BillDate>2025-12-06T04:02:01.0590671+00:00</BillDate>
  <Billno>sample string 6</Billno>
  <BranchId>3</BranchId>
  <Cancel>sample string 17</Cancel>
  <CompanyId>2</CompanyId>
  <DiscCash>15</DiscCash>
  <Discper>14</Discper>
  <Hsncode>2025-12-06T04:02:01.0590671+00:00</Hsncode>
  <Id>1</Id>
  <NewtWeight>10</NewtWeight>
  <PartyId>sample string 4</PartyId>
  <ProdId>sample string 5</ProdId>
  <Qty>8</Qty>
  <SelRate>11</SelRate>
  <UpTime>2025-12-06T04:02:01.0590671+00:00</UpTime>
  <Vat>12</Vat>
  <VatVal>13</VatVal>
  <Weight>9</Weight>
</Myorder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.