POST api/Migration?orderId={orderId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderId

integer

Required

Body Parameters

Collection of ProductInInvoiceASPDTO
NameDescriptionTypeAdditional information
productIdASP

integer

None.

quantity

decimal number

None.

invoiceASP

integer

None.

unitPrice

decimal number

None.

description

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "productIdASP": 1,
    "quantity": 2.0,
    "invoiceASP": 3,
    "unitPrice": 4.0,
    "description": "sample string 5"
  },
  {
    "productIdASP": 1,
    "quantity": 2.0,
    "invoiceASP": 3,
    "unitPrice": 4.0,
    "description": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMigrationController.ProductInInvoiceASPDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Blumev3.Controllers">
  <MigrationController.ProductInInvoiceASPDTO>
    <description>sample string 5</description>
    <invoiceASP>3</invoiceASP>
    <productIdASP>1</productIdASP>
    <quantity>2</quantity>
    <unitPrice>4</unitPrice>
  </MigrationController.ProductInInvoiceASPDTO>
  <MigrationController.ProductInInvoiceASPDTO>
    <description>sample string 5</description>
    <invoiceASP>3</invoiceASP>
    <productIdASP>1</productIdASP>
    <quantity>2</quantity>
    <unitPrice>4</unitPrice>
  </MigrationController.ProductInInvoiceASPDTO>
</ArrayOfMigrationController.ProductInInvoiceASPDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.