POST importapi/importOrdine

Request Information

URI Parameters

None.

Body Parameters

Order
NameDescriptionTypeAdditional information
internalOrdNo

string

None.

idTablet

string

None.

salesPerson

string

None.

externalOrdNo

string

None.

orderDate

string

None.

idCustomer

string

None.

notes

string

None.

notesCl

string

None.

payment

string

None.

expectedDeliveryDate

string

None.

confirmedDeliveryDate

string

None.

shipToAddress

string

None.

linesOrder

Collection of OrderDetail

None.

taxableAmount

decimal number

None.

taxAmount

decimal number

None.

totalAmount

decimal number

None.

goodsAmount

decimal number

None.

payableAmount

decimal number

None.

discountOnGoodsAmount

decimal number

None.

servicesAmount

decimal number

None.

discountFormula

string

None.

discountValue

decimal number

None.

allowances

decimal number

None.

transportCosts

decimal number

None.

idOfferOrder

string

None.

Request Formats

application/json, text/json

Sample:
{
  "internalOrdNo": "sample string 1",
  "idTablet": "sample string 3",
  "salesPerson": "sample string 4",
  "externalOrdNo": "sample string 5",
  "orderDate": "sample string 6",
  "idCustomer": "sample string 7",
  "notes": "sample string 8",
  "notesCl": "sample string 9",
  "payment": "sample string 11",
  "expectedDeliveryDate": "sample string 12",
  "confirmedDeliveryDate": "sample string 13",
  "shipToAddress": "sample string 16",
  "linesOrder": [
    {
      "line": 1,
      "lineType": 3,
      "idItem": "sample string 4",
      "descItem": "sample string 5",
      "uoM": "sample string 6",
      "qty": 1.1,
      "unitValue": 1.1,
      "discount1": 1.1,
      "discount2": 1.1,
      "discountFormula": "sample string 7",
      "taxableAmount": 1.1,
      "taxCode": "sample string 8",
      "totalAmount": 1.1,
      "saleType": 11,
      "notes": "sample string 12",
      "priceList": "sample string 13",
      "baseSalesPerson": 1.1,
      "netSaleWithoutDiscount": 1.1,
      "promo": 16,
      "codPromo": "sample string 17",
      "noPrint": 19,
      "noDN": 20,
      "noInvoice": 21,
      "lineOfferOrder": "sample string 22"
    },
    {
      "line": 1,
      "lineType": 3,
      "idItem": "sample string 4",
      "descItem": "sample string 5",
      "uoM": "sample string 6",
      "qty": 1.1,
      "unitValue": 1.1,
      "discount1": 1.1,
      "discount2": 1.1,
      "discountFormula": "sample string 7",
      "taxableAmount": 1.1,
      "taxCode": "sample string 8",
      "totalAmount": 1.1,
      "saleType": 11,
      "notes": "sample string 12",
      "priceList": "sample string 13",
      "baseSalesPerson": 1.1,
      "netSaleWithoutDiscount": 1.1,
      "promo": 16,
      "codPromo": "sample string 17",
      "noPrint": 19,
      "noDN": 20,
      "noInvoice": 21,
      "lineOfferOrder": "sample string 22"
    }
  ],
  "taxableAmount": 1.1,
  "taxAmount": 1.1,
  "totalAmount": 1.1,
  "goodsAmount": 1.1,
  "payableAmount": 1.1,
  "discountOnGoodsAmount": 1.1,
  "servicesAmount": 1.1,
  "discountFormula": "sample string 17",
  "discountValue": 1.1,
  "allowances": 1.1,
  "transportCosts": 1.1,
  "idOfferOrder": "sample string 18"
}

text/html

Sample:
{"internalOrdNo":"sample string 1","idTablet":"sample string 3","salesPerson":"sample string 4","externalOrdNo":"sample string 5","orderDate":"sample string 6","idCustomer":"sample string 7","notes":"sample string 8","notesCl":"sample string 9","payment":"sample string 11","expectedDeliveryDate":"sample string 12","confirmedDeliveryDate":"sample string 13","shipToAddress":"sample string 16","linesOrder":[{"line":1,"lineType":3,"idItem":"sample string 4","descItem":"sample string 5","uoM":"sample string 6","qty":1.1,"unitValue":1.1,"discount1":1.1,"discount2":1.1,"discountFormula":"sample string 7","taxableAmount":1.1,"taxCode":"sample string 8","totalAmount":1.1,"saleType":11,"notes":"sample string 12","priceList":"sample string 13","baseSalesPerson":1.1,"netSaleWithoutDiscount":1.1,"promo":16,"codPromo":"sample string 17","noPrint":19,"noDN":20,"noInvoice":21,"lineOfferOrder":"sample string 22"},{"line":1,"lineType":3,"idItem":"sample string 4","descItem":"sample string 5","uoM":"sample string 6","qty":1.1,"unitValue":1.1,"discount1":1.1,"discount2":1.1,"discountFormula":"sample string 7","taxableAmount":1.1,"taxCode":"sample string 8","totalAmount":1.1,"saleType":11,"notes":"sample string 12","priceList":"sample string 13","baseSalesPerson":1.1,"netSaleWithoutDiscount":1.1,"promo":16,"codPromo":"sample string 17","noPrint":19,"noDN":20,"noInvoice":21,"lineOfferOrder":"sample string 22"}],"taxableAmount":1.1,"taxAmount":1.1,"totalAmount":1.1,"goodsAmount":1.1,"payableAmount":1.1,"discountOnGoodsAmount":1.1,"servicesAmount":1.1,"discountFormula":"sample string 17","discountValue":1.1,"allowances":1.1,"transportCosts":1.1,"idOfferOrder":"sample string 18"}

application/xml, text/xml

Sample:
<Order xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <Allowances>1.1</Allowances>
  <CompanyName>sample string 10</CompanyName>
  <ConfirmedDeliveryDate>sample string 13</ConfirmedDeliveryDate>
  <Customer>sample string 7</Customer>
  <DetailOrder>
    <OrderDetail>
      <BaseSalesPerson>1.1</BaseSalesPerson>
      <CodPromo>sample string 17</CodPromo>
      <CommissionCategory>sample string 14</CommissionCategory>
      <CommissionPerc>1.1</CommissionPerc>
      <ConfirmedDeliveryDate>2026-01-09T11:28:31.1850694+01:00</ConfirmedDeliveryDate>
      <Description>sample string 5</Description>
      <Discount1>1.1</Discount1>
      <Discount2>1.1</Discount2>
      <DiscountFormula>sample string 7</DiscountFormula>
      <EcoTassa>1.1</EcoTassa>
      <ExpectedDeliveryDate>2026-01-09T11:28:31.1850694+01:00</ExpectedDeliveryDate>
      <IdDoc>2</IdDoc>
      <Item>sample string 4</Item>
      <Line>1</Line>
      <LineOfferOrder>sample string 22</LineOfferOrder>
      <LineType>3</LineType>
      <Lotto>18</Lotto>
      <NetSaleWithoutDiscount>1.1</NetSaleWithoutDiscount>
      <NoDN>20</NoDN>
      <NoInvoice>21</NoInvoice>
      <NoPrint>19</NoPrint>
      <Notes>sample string 12</Notes>
      <PriceList>sample string 13</PriceList>
      <Promo>16</Promo>
      <Qty>1.1</Qty>
      <SaleType>11</SaleType>
      <SalesOffset>sample string 15</SalesOffset>
      <SalespersonComm>1.1</SalespersonComm>
      <TaxCode>sample string 8</TaxCode>
      <TaxableAmount>1.1</TaxableAmount>
      <TotalAmount>1.1</TotalAmount>
      <UnitValue>1.1</UnitValue>
      <UoM>sample string 6</UoM>
    </OrderDetail>
    <OrderDetail>
      <BaseSalesPerson>1.1</BaseSalesPerson>
      <CodPromo>sample string 17</CodPromo>
      <CommissionCategory>sample string 14</CommissionCategory>
      <CommissionPerc>1.1</CommissionPerc>
      <ConfirmedDeliveryDate>2026-01-09T11:28:31.1850694+01:00</ConfirmedDeliveryDate>
      <Description>sample string 5</Description>
      <Discount1>1.1</Discount1>
      <Discount2>1.1</Discount2>
      <DiscountFormula>sample string 7</DiscountFormula>
      <EcoTassa>1.1</EcoTassa>
      <ExpectedDeliveryDate>2026-01-09T11:28:31.1850694+01:00</ExpectedDeliveryDate>
      <IdDoc>2</IdDoc>
      <Item>sample string 4</Item>
      <Line>1</Line>
      <LineOfferOrder>sample string 22</LineOfferOrder>
      <LineType>3</LineType>
      <Lotto>18</Lotto>
      <NetSaleWithoutDiscount>1.1</NetSaleWithoutDiscount>
      <NoDN>20</NoDN>
      <NoInvoice>21</NoInvoice>
      <NoPrint>19</NoPrint>
      <Notes>sample string 12</Notes>
      <PriceList>sample string 13</PriceList>
      <Promo>16</Promo>
      <Qty>1.1</Qty>
      <SaleType>11</SaleType>
      <SalesOffset>sample string 15</SalesOffset>
      <SalespersonComm>1.1</SalespersonComm>
      <TaxCode>sample string 8</TaxCode>
      <TaxableAmount>1.1</TaxableAmount>
      <TotalAmount>1.1</TotalAmount>
      <UnitValue>1.1</UnitValue>
      <UoM>sample string 6</UoM>
    </OrderDetail>
  </DetailOrder>
  <DiscountOnGoodsAmount>1.1</DiscountOnGoodsAmount>
  <DiscountValue>1.1</DiscountValue>
  <Discountformula>sample string 17</Discountformula>
  <ExpectedDeliveryDate>sample string 12</ExpectedDeliveryDate>
  <ExternalOrdNo>sample string 5</ExternalOrdNo>
  <GoodsAmount>1.1</GoodsAmount>
  <IdDoc>2</IdDoc>
  <IdOfferOrder>sample string 18</IdOfferOrder>
  <IdTablet>sample string 3</IdTablet>
  <InternalOrdNo>sample string 1</InternalOrdNo>
  <Notes>sample string 8</Notes>
  <NotesCl>sample string 9</NotesCl>
  <OrderDate>sample string 6</OrderDate>
  <PayableAmount>1.1</PayableAmount>
  <Payment>sample string 11</Payment>
  <SalesPerson>sample string 4</SalesPerson>
  <ShipToAddress>sample string 16</ShipToAddress>
  <ShipToCustSupp>sample string 15</ShipToCustSupp>
  <ShipToCustSuppType>1</ShipToCustSuppType>
  <ShippingCharges>1.1</ShippingCharges>
  <Storagecode>sample string 14</Storagecode>
  <TaxAmount>1.1</TaxAmount>
  <TaxableAmount>1.1</TaxableAmount>
  <TotalAmount>1.1</TotalAmount>
  <TransportCosts>1.1</TransportCosts>
</Order>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Dati

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Dati": {}
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Dati":{}}

application/xml, text/xml

Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <Dati />
  <Message>sample string 1</Message>
  <Status>true</Status>
</ResponseModel>