POST api/Orders/CreateCPSAPTOMAGENTO

Request Information

URI Parameters

None.

Body Parameters

CP
NameDescriptionTypeAdditional information
Code

string

None.

DocEntry

string

None.

Cancelled

character

None.

U_CardCode

string

None.

U_NextShipDate

string

None.

U_CreationDate

string

None.

U_ModifiedDate

string

None.

U_ModifiedBy

string

None.

U_ShipToCode

string

None.

U_ShippingMethod

string

None.

U_ShipToName

string

None.

U_Status

string

None.

U_ShipToPhone

string

None.

U_PaymentToken

string

None.

U_PaymentMaskedNumber

string

None.

U_PaymentCountry

string

None.

U_PaymentCurrency

string

None.

U_PaymentNameOnCard

string

None.

U_PaymentExpMonth

integer

None.

U_PaymentExpYear

integer

None.

U_Message

string

None.

U_Source

string

None.

ShippingTotal

decimal number

None.

ShippingTax

decimal number

None.

TaxTotal

decimal number

None.

U_Active

integer

None.

UNV_CPLINES

Collection of CPLine

None.

CPDiscounts

Collection of CPDiscount

None.

CPAddresses

Collection of Address

None.

CPOrderType

CPOrderType

None.

U_MCPID

string

None.

U_Period

string

None.

U_Frequency

string

None.

magentoCPPlanID

string

None.

magentoCPFrequencyID

string

None.

Request Formats

application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonPostResult
NameDescriptionTypeAdditional information
Status

string

None.

Message

Object

None.

Error

Object

None.

ResultValue

string

None.

CardCode

string

None.

CPOrderId

string

None.

ProPayId

string

None.

CPCOUNT

string

None.

DocEntry

integer

None.

DocNum

integer

None.

CardType

string

None.

AddressName

string

None.

InsertStatus

string

None.

UpdateStatus

string

None.

id

string

None.

entity_id

string

None.

U_MCustomerID

string

None.

E_Mail

string

None.

U_MAddressID

string

None.

increment_id

string

None.

profile_id

string

None.

customer_id

string

None.

Phone1

string

None.

Lines

Collection of Lines

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": {},
  "Error": {},
  "ResultValue": "sample string 4",
  "CardCode": "sample string 5",
  "CPOrderId": "sample string 6",
  "ProPayId": "sample string 7",
  "CPCOUNT": "sample string 8",
  "DocEntry": 9,
  "DocNum": 10,
  "CardType": "sample string 11",
  "AddressName": "sample string 12",
  "InsertStatus": "sample string 13",
  "UpdateStatus": "sample string 14",
  "id": "sample string 15",
  "entity_id": "sample string 16",
  "U_MCustomerID": "sample string 17",
  "E_Mail": "sample string 18",
  "U_MAddressID": "sample string 19",
  "increment_id": "sample string 20",
  "profile_id": "sample string 21",
  "customer_id": "sample string 22",
  "Phone1": "sample string 23",
  "Lines": [
    {
      "SKU": "sample string 1",
      "Quantity": 2,
      "U_MCPLineID": 1,
      "LineId": 3
    },
    {
      "SKU": "sample string 1",
      "Quantity": 2,
      "U_MCPLineID": 1,
      "LineId": 3
    }
  ]
}

application/xml, text/xml

Sample:
<JsonPostResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Univera.HANA.DataModel">
  <AddressName>sample string 12</AddressName>
  <CPCOUNT>sample string 8</CPCOUNT>
  <CPOrderId>sample string 6</CPOrderId>
  <CardCode>sample string 5</CardCode>
  <CardType>sample string 11</CardType>
  <DocEntry>9</DocEntry>
  <DocNum>10</DocNum>
  <E_Mail>sample string 18</E_Mail>
  <Error />
  <InsertStatus>sample string 13</InsertStatus>
  <Lines>
    <Lines>
      <LineId>3</LineId>
      <Quantity>2</Quantity>
      <SKU>sample string 1</SKU>
      <U_MCPLineID>1</U_MCPLineID>
    </Lines>
    <Lines>
      <LineId>3</LineId>
      <Quantity>2</Quantity>
      <SKU>sample string 1</SKU>
      <U_MCPLineID>1</U_MCPLineID>
    </Lines>
  </Lines>
  <Message />
  <Phone1>sample string 23</Phone1>
  <ProPayId>sample string 7</ProPayId>
  <ResultValue>sample string 4</ResultValue>
  <Status>sample string 1</Status>
  <U_MAddressID>sample string 19</U_MAddressID>
  <U_MCustomerID>sample string 17</U_MCustomerID>
  <UpdateStatus>sample string 14</UpdateStatus>
  <customer_id>sample string 22</customer_id>
  <entity_id>sample string 16</entity_id>
  <id>sample string 15</id>
  <increment_id>sample string 20</increment_id>
  <profile_id>sample string 21</profile_id>
</JsonPostResult>