POST api/SalesOrder

Request Information

URI Parameters

None.

Body Parameters

SalesOrder
NameDescriptionTypeAdditional information
MID

integer

Required

BRANCH_CODE

string

Required

Max length: 6

VOCDATE

date

Required

DELIVERY_DATE

date

Required

PARTYCODE

string

Required

Max length: 6

SALESPERSON_CODE

string

Max length: 6

REMARKS

string

Max length: 500

ORDER_TYPE

string

Required

Max length: 20

SalesOrderDetails

Collection of SalesOrderDetails

None.

SalesOrderStnmtlDetails

Collection of SalesOrderStnmtlDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "MID": 1,
  "BRANCH_CODE": "sample string 2",
  "VOCDATE": "2025-12-16T07:34:06.6345947+04:00",
  "DELIVERY_DATE": "2025-12-16T07:34:06.6345947+04:00",
  "PARTYCODE": "sample string 5",
  "SALESPERSON_CODE": "sample string 6",
  "REMARKS": "sample string 7",
  "ORDER_TYPE": "sample string 8",
  "SalesOrderDetails": [
    {
      "UNIQUEID": 1.1,
      "SRNO": 2,
      "DELIVERY_DATE": "2025-12-16T07:34:06.6355874+04:00",
      "DESIGN_CODE": "sample string 4",
      "KARAT": "sample string 5",
      "METAL_COLOR": "sample string 6",
      "PCS": 7.1,
      "METAL_WT": 8.1,
      "STONE_WT": 9.1,
      "GROSS_WT": 10.1,
      "Cls_Wt": 11.1,
      "Prl_Wt": 12.1,
      "RATEFC": 13.1,
      "STOCK_CODE": "sample string 14",
      "REMARKS": "sample string 15",
      "ENGRAVE_TEXT": "sample string 16",
      "RHODIUM_COLOR": "sample string 17",
      "SIZE": "sample string 18",
      "LENGTH": "sample string 19",
      "PICTURE_NAME": "sample string 20",
      "STOCK_DESCRIPTION": "sample string 21",
      "ENAMEL_COLOR": "sample string 22",
      "DIVISION_CODE": "sample string 23",
      "UNQ_DESIGN_ID": "sample string 24"
    },
    {
      "UNIQUEID": 1.1,
      "SRNO": 2,
      "DELIVERY_DATE": "2025-12-16T07:34:06.6355874+04:00",
      "DESIGN_CODE": "sample string 4",
      "KARAT": "sample string 5",
      "METAL_COLOR": "sample string 6",
      "PCS": 7.1,
      "METAL_WT": 8.1,
      "STONE_WT": 9.1,
      "GROSS_WT": 10.1,
      "Cls_Wt": 11.1,
      "Prl_Wt": 12.1,
      "RATEFC": 13.1,
      "STOCK_CODE": "sample string 14",
      "REMARKS": "sample string 15",
      "ENGRAVE_TEXT": "sample string 16",
      "RHODIUM_COLOR": "sample string 17",
      "SIZE": "sample string 18",
      "LENGTH": "sample string 19",
      "PICTURE_NAME": "sample string 20",
      "STOCK_DESCRIPTION": "sample string 21",
      "ENAMEL_COLOR": "sample string 22",
      "DIVISION_CODE": "sample string 23",
      "UNQ_DESIGN_ID": "sample string 24"
    }
  ],
  "SalesOrderStnmtlDetails": [
    {
      "UNIQUEID": 1.1,
      "SRNO": 2,
      "DESIGN_CODE": "sample string 3",
      "METALSTONE": "sample string 4",
      "DIVCODE": "sample string 5",
      "KARAT_CODE": "sample string 6",
      "GROSS_WT": 7.1,
      "PCS": 8.1,
      "SIEVE": "sample string 9",
      "COLOR": "sample string 10",
      "CLARITY": "sample string 11",
      "SHAPE": "sample string 12",
      "SIZE_FROM": "sample string 13",
      "SIZE_TO": "sample string 14",
      "RATEFC": 15.1,
      "LABCHGCODE": "sample string 16",
      "AMOUNTLC": 17.1,
      "LABRATELC": 18.1,
      "LABAMOUNTLC": 19.1,
      "LABRATEFC": 20.1,
      "METALPERCENTAGE": 21.1,
      "COMPSLNO": 22.1,
      "SIEVE_SET": "sample string 23",
      "MFTSTOCK_CODE": "sample string 24",
      "UNQ_DESIGN_ID": "sample string 25"
    },
    {
      "UNIQUEID": 1.1,
      "SRNO": 2,
      "DESIGN_CODE": "sample string 3",
      "METALSTONE": "sample string 4",
      "DIVCODE": "sample string 5",
      "KARAT_CODE": "sample string 6",
      "GROSS_WT": 7.1,
      "PCS": 8.1,
      "SIEVE": "sample string 9",
      "COLOR": "sample string 10",
      "CLARITY": "sample string 11",
      "SHAPE": "sample string 12",
      "SIZE_FROM": "sample string 13",
      "SIZE_TO": "sample string 14",
      "RATEFC": 15.1,
      "LABCHGCODE": "sample string 16",
      "AMOUNTLC": 17.1,
      "LABRATELC": 18.1,
      "LABAMOUNTLC": 19.1,
      "LABRATEFC": 20.1,
      "METALPERCENTAGE": 21.1,
      "COMPSLNO": 22.1,
      "SIEVE_SET": "sample string 23",
      "MFTSTOCK_CODE": "sample string 24",
      "UNQ_DESIGN_ID": "sample string 25"
    }
  ]
}

text/html

Sample:
{"MID":1,"BRANCH_CODE":"sample string 2","VOCDATE":"2025-12-16T07:34:06.6345947+04:00","DELIVERY_DATE":"2025-12-16T07:34:06.6345947+04:00","PARTYCODE":"sample string 5","SALESPERSON_CODE":"sample string 6","REMARKS":"sample string 7","ORDER_TYPE":"sample string 8","SalesOrderDetails":[{"UNIQUEID":1.1,"SRNO":2,"DELIVERY_DATE":"2025-12-16T07:34:06.6355874+04:00","DESIGN_CODE":"sample string 4","KARAT":"sample string 5","METAL_COLOR":"sample string 6","PCS":7.1,"METAL_WT":8.1,"STONE_WT":9.1,"GROSS_WT":10.1,"Cls_Wt":11.1,"Prl_Wt":12.1,"RATEFC":13.1,"STOCK_CODE":"sample string 14","REMARKS":"sample string 15","ENGRAVE_TEXT":"sample string 16","RHODIUM_COLOR":"sample string 17","SIZE":"sample string 18","LENGTH":"sample string 19","PICTURE_NAME":"sample string 20","STOCK_DESCRIPTION":"sample string 21","ENAMEL_COLOR":"sample string 22","DIVISION_CODE":"sample string 23","UNQ_DESIGN_ID":"sample string 24"},{"UNIQUEID":1.1,"SRNO":2,"DELIVERY_DATE":"2025-12-16T07:34:06.6355874+04:00","DESIGN_CODE":"sample string 4","KARAT":"sample string 5","METAL_COLOR":"sample string 6","PCS":7.1,"METAL_WT":8.1,"STONE_WT":9.1,"GROSS_WT":10.1,"Cls_Wt":11.1,"Prl_Wt":12.1,"RATEFC":13.1,"STOCK_CODE":"sample string 14","REMARKS":"sample string 15","ENGRAVE_TEXT":"sample string 16","RHODIUM_COLOR":"sample string 17","SIZE":"sample string 18","LENGTH":"sample string 19","PICTURE_NAME":"sample string 20","STOCK_DESCRIPTION":"sample string 21","ENAMEL_COLOR":"sample string 22","DIVISION_CODE":"sample string 23","UNQ_DESIGN_ID":"sample string 24"}],"SalesOrderStnmtlDetails":[{"UNIQUEID":1.1,"SRNO":2,"DESIGN_CODE":"sample string 3","METALSTONE":"sample string 4","DIVCODE":"sample string 5","KARAT_CODE":"sample string 6","GROSS_WT":7.1,"PCS":8.1,"SIEVE":"sample string 9","COLOR":"sample string 10","CLARITY":"sample string 11","SHAPE":"sample string 12","SIZE_FROM":"sample string 13","SIZE_TO":"sample string 14","RATEFC":15.1,"LABCHGCODE":"sample string 16","AMOUNTLC":17.1,"LABRATELC":18.1,"LABAMOUNTLC":19.1,"LABRATEFC":20.1,"METALPERCENTAGE":21.1,"COMPSLNO":22.1,"SIEVE_SET":"sample string 23","MFTSTOCK_CODE":"sample string 24","UNQ_DESIGN_ID":"sample string 25"},{"UNIQUEID":1.1,"SRNO":2,"DESIGN_CODE":"sample string 3","METALSTONE":"sample string 4","DIVCODE":"sample string 5","KARAT_CODE":"sample string 6","GROSS_WT":7.1,"PCS":8.1,"SIEVE":"sample string 9","COLOR":"sample string 10","CLARITY":"sample string 11","SHAPE":"sample string 12","SIZE_FROM":"sample string 13","SIZE_TO":"sample string 14","RATEFC":15.1,"LABCHGCODE":"sample string 16","AMOUNTLC":17.1,"LABRATELC":18.1,"LABAMOUNTLC":19.1,"LABRATEFC":20.1,"METALPERCENTAGE":21.1,"COMPSLNO":22.1,"SIEVE_SET":"sample string 23","MFTSTOCK_CODE":"sample string 24","UNQ_DESIGN_ID":"sample string 25"}]}

application/xml, text/xml

Sample:
<SalesOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webAppApi.Models.General">
  <BRANCH_CODE>sample string 2</BRANCH_CODE>
  <DELIVERY_DATE>2025-12-16T07:34:06.6345947+04:00</DELIVERY_DATE>
  <MID>1</MID>
  <ORDER_TYPE>sample string 8</ORDER_TYPE>
  <PARTYCODE>sample string 5</PARTYCODE>
  <REMARKS>sample string 7</REMARKS>
  <SALESPERSON_CODE>sample string 6</SALESPERSON_CODE>
  <SalesOrderDetails>
    <SalesOrderDetails>
      <Cls_Wt>11.1</Cls_Wt>
      <DELIVERY_DATE>2025-12-16T07:34:06.6355874+04:00</DELIVERY_DATE>
      <DESIGN_CODE>sample string 4</DESIGN_CODE>
      <DIVISION_CODE>sample string 23</DIVISION_CODE>
      <ENAMEL_COLOR>sample string 22</ENAMEL_COLOR>
      <ENGRAVE_TEXT>sample string 16</ENGRAVE_TEXT>
      <GROSS_WT>10.1</GROSS_WT>
      <KARAT>sample string 5</KARAT>
      <LENGTH>sample string 19</LENGTH>
      <METAL_COLOR>sample string 6</METAL_COLOR>
      <METAL_WT>8.1</METAL_WT>
      <PCS>7.1</PCS>
      <PICTURE_NAME>sample string 20</PICTURE_NAME>
      <Prl_Wt>12.1</Prl_Wt>
      <RATEFC>13.1</RATEFC>
      <REMARKS>sample string 15</REMARKS>
      <RHODIUM_COLOR>sample string 17</RHODIUM_COLOR>
      <SIZE>sample string 18</SIZE>
      <SRNO>2</SRNO>
      <STOCK_CODE>sample string 14</STOCK_CODE>
      <STOCK_DESCRIPTION>sample string 21</STOCK_DESCRIPTION>
      <STONE_WT>9.1</STONE_WT>
      <UNIQUEID>1.1</UNIQUEID>
      <UNQ_DESIGN_ID>sample string 24</UNQ_DESIGN_ID>
    </SalesOrderDetails>
    <SalesOrderDetails>
      <Cls_Wt>11.1</Cls_Wt>
      <DELIVERY_DATE>2025-12-16T07:34:06.6355874+04:00</DELIVERY_DATE>
      <DESIGN_CODE>sample string 4</DESIGN_CODE>
      <DIVISION_CODE>sample string 23</DIVISION_CODE>
      <ENAMEL_COLOR>sample string 22</ENAMEL_COLOR>
      <ENGRAVE_TEXT>sample string 16</ENGRAVE_TEXT>
      <GROSS_WT>10.1</GROSS_WT>
      <KARAT>sample string 5</KARAT>
      <LENGTH>sample string 19</LENGTH>
      <METAL_COLOR>sample string 6</METAL_COLOR>
      <METAL_WT>8.1</METAL_WT>
      <PCS>7.1</PCS>
      <PICTURE_NAME>sample string 20</PICTURE_NAME>
      <Prl_Wt>12.1</Prl_Wt>
      <RATEFC>13.1</RATEFC>
      <REMARKS>sample string 15</REMARKS>
      <RHODIUM_COLOR>sample string 17</RHODIUM_COLOR>
      <SIZE>sample string 18</SIZE>
      <SRNO>2</SRNO>
      <STOCK_CODE>sample string 14</STOCK_CODE>
      <STOCK_DESCRIPTION>sample string 21</STOCK_DESCRIPTION>
      <STONE_WT>9.1</STONE_WT>
      <UNIQUEID>1.1</UNIQUEID>
      <UNQ_DESIGN_ID>sample string 24</UNQ_DESIGN_ID>
    </SalesOrderDetails>
  </SalesOrderDetails>
  <SalesOrderStnmtlDetails>
    <SalesOrderStnmtlDetails>
      <AMOUNTLC>17.1</AMOUNTLC>
      <CLARITY>sample string 11</CLARITY>
      <COLOR>sample string 10</COLOR>
      <COMPSLNO>22.1</COMPSLNO>
      <DESIGN_CODE>sample string 3</DESIGN_CODE>
      <DIVCODE>sample string 5</DIVCODE>
      <GROSS_WT>7.1</GROSS_WT>
      <KARAT_CODE>sample string 6</KARAT_CODE>
      <LABAMOUNTLC>19.1</LABAMOUNTLC>
      <LABCHGCODE>sample string 16</LABCHGCODE>
      <LABRATEFC>20.1</LABRATEFC>
      <LABRATELC>18.1</LABRATELC>
      <METALPERCENTAGE>21.1</METALPERCENTAGE>
      <METALSTONE>sample string 4</METALSTONE>
      <MFTSTOCK_CODE>sample string 24</MFTSTOCK_CODE>
      <PCS>8.1</PCS>
      <RATEFC>15.1</RATEFC>
      <SHAPE>sample string 12</SHAPE>
      <SIEVE>sample string 9</SIEVE>
      <SIEVE_SET>sample string 23</SIEVE_SET>
      <SIZE_FROM>sample string 13</SIZE_FROM>
      <SIZE_TO>sample string 14</SIZE_TO>
      <SRNO>2</SRNO>
      <UNIQUEID>1.1</UNIQUEID>
      <UNQ_DESIGN_ID>sample string 25</UNQ_DESIGN_ID>
    </SalesOrderStnmtlDetails>
    <SalesOrderStnmtlDetails>
      <AMOUNTLC>17.1</AMOUNTLC>
      <CLARITY>sample string 11</CLARITY>
      <COLOR>sample string 10</COLOR>
      <COMPSLNO>22.1</COMPSLNO>
      <DESIGN_CODE>sample string 3</DESIGN_CODE>
      <DIVCODE>sample string 5</DIVCODE>
      <GROSS_WT>7.1</GROSS_WT>
      <KARAT_CODE>sample string 6</KARAT_CODE>
      <LABAMOUNTLC>19.1</LABAMOUNTLC>
      <LABCHGCODE>sample string 16</LABCHGCODE>
      <LABRATEFC>20.1</LABRATEFC>
      <LABRATELC>18.1</LABRATELC>
      <METALPERCENTAGE>21.1</METALPERCENTAGE>
      <METALSTONE>sample string 4</METALSTONE>
      <MFTSTOCK_CODE>sample string 24</MFTSTOCK_CODE>
      <PCS>8.1</PCS>
      <RATEFC>15.1</RATEFC>
      <SHAPE>sample string 12</SHAPE>
      <SIEVE>sample string 9</SIEVE>
      <SIEVE_SET>sample string 23</SIEVE_SET>
      <SIZE_FROM>sample string 13</SIZE_FROM>
      <SIZE_TO>sample string 14</SIZE_TO>
      <SRNO>2</SRNO>
      <UNIQUEID>1.1</UNIQUEID>
      <UNQ_DESIGN_ID>sample string 25</UNQ_DESIGN_ID>
    </SalesOrderStnmtlDetails>
  </SalesOrderStnmtlDetails>
  <VOCDATE>2025-12-16T07:34:06.6345947+04:00</VOCDATE>
</SalesOrder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />