POST api/v1/CustomerOrderDetail/AddItemTT

Request Information

URI Parameters

None.

Body Parameters

CustomerOrderDetailModel
NameDescriptionTypeAdditional information
Id

string

None.

OrderNumber

string

None.

OrderDate_Text

string

None.

CustomerName

string

None.

CustomerPhone

string

None.

CustomerAddress

string

None.

CounterName

string

None.

CreatedBy

string

None.

Bill_TotalMoney

decimal number

None.

DepositMoney

decimal number

None.

AppointmentDate_Text

string

None.

PaymentDepositMoney

decimal number

None.

PutMoneyInCounter

decimal number

None.

TotalMoney_Payment4CusAndPutInCounter

decimal number

None.

PaymentDepositDate_Text

string

None.

IsCustomerPickupItem_Text

string

None.

Note_CustomerOrder

string

None.

CustomerOrderId

string

None.

MaterialId

string

None.

MaterialCode

string

None.

MaterialName

string

None.

UnitId

string

None.

UnitName

string

None.

Price

decimal number

None.

Quantity

decimal number

None.

TotalPrice

decimal number

None.

Note

string

None.

IsCanEdit_Material

boolean

None.

IsInventory

boolean

None.

IsInventory_Text

string

None.

Feedback

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "OrderNumber": "sample string 2",
  "OrderDate_Text": "sample string 3",
  "CustomerName": "sample string 4",
  "CustomerPhone": "sample string 5",
  "CustomerAddress": "sample string 6",
  "CounterName": "sample string 7",
  "CreatedBy": "sample string 8",
  "Bill_TotalMoney": 1.0,
  "DepositMoney": 1.0,
  "AppointmentDate_Text": "sample string 9",
  "PaymentDepositMoney": 1.0,
  "PutMoneyInCounter": 1.0,
  "TotalMoney_Payment4CusAndPutInCounter": 1.0,
  "PaymentDepositDate_Text": "sample string 10",
  "IsCustomerPickupItem_Text": "sample string 11",
  "Note_CustomerOrder": "sample string 12",
  "CustomerOrderId": "sample string 13",
  "MaterialId": "sample string 14",
  "MaterialCode": "sample string 15",
  "MaterialName": "sample string 16",
  "UnitId": "sample string 17",
  "UnitName": "sample string 18",
  "Price": 19.0,
  "Quantity": 20.0,
  "TotalPrice": 21.0,
  "Note": "sample string 22",
  "IsCanEdit_Material": true,
  "IsInventory": true,
  "IsInventory_Text": "sample string 25",
  "Feedback": "sample string 26"
}

application/xml, text/xml

Sample:
<CustomerOrderDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <AppointmentDate_Text>sample string 9</AppointmentDate_Text>
  <Bill_TotalMoney>1</Bill_TotalMoney>
  <CounterName>sample string 7</CounterName>
  <CreatedBy>sample string 8</CreatedBy>
  <CustomerAddress>sample string 6</CustomerAddress>
  <CustomerName>sample string 4</CustomerName>
  <CustomerOrderId>sample string 13</CustomerOrderId>
  <CustomerPhone>sample string 5</CustomerPhone>
  <DepositMoney>1</DepositMoney>
  <Feedback>sample string 26</Feedback>
  <Id>sample string 1</Id>
  <IsCanEdit_Material>true</IsCanEdit_Material>
  <IsCustomerPickupItem_Text>sample string 11</IsCustomerPickupItem_Text>
  <IsInventory>true</IsInventory>
  <IsInventory_Text>sample string 25</IsInventory_Text>
  <MaterialCode>sample string 15</MaterialCode>
  <MaterialId>sample string 14</MaterialId>
  <MaterialName>sample string 16</MaterialName>
  <Note>sample string 22</Note>
  <Note_CustomerOrder>sample string 12</Note_CustomerOrder>
  <OrderDate_Text>sample string 3</OrderDate_Text>
  <OrderNumber>sample string 2</OrderNumber>
  <PaymentDepositDate_Text>sample string 10</PaymentDepositDate_Text>
  <PaymentDepositMoney>1</PaymentDepositMoney>
  <Price>19</Price>
  <PutMoneyInCounter>1</PutMoneyInCounter>
  <Quantity>20</Quantity>
  <TotalMoney_Payment4CusAndPutInCounter>1</TotalMoney_Payment4CusAndPutInCounter>
  <TotalPrice>21</TotalPrice>
  <UnitId>sample string 17</UnitId>
  <UnitName>sample string 18</UnitName>
</CustomerOrderDetailModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomerOrderDetailModel'.

Response Information

Resource Description

EzyResultObjectOfCustomerOrderDetailModel
NameDescriptionTypeAdditional information
Data

CustomerOrderDetailModel

None.

ExtraData

Dictionary of string [key] and Object [value]

None.

StartTime

decimal number

None.

EndTime

decimal number

None.

TotalMili

decimal number

None.

StatusCode

integer

None.

Msg

string

None.

MsgShowInUI

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Id": "sample string 1",
    "OrderNumber": "sample string 2",
    "OrderDate_Text": "sample string 3",
    "CustomerName": "sample string 4",
    "CustomerPhone": "sample string 5",
    "CustomerAddress": "sample string 6",
    "CounterName": "sample string 7",
    "CreatedBy": "sample string 8",
    "Bill_TotalMoney": 1.0,
    "DepositMoney": 1.0,
    "AppointmentDate_Text": "sample string 9",
    "PaymentDepositMoney": 1.0,
    "PutMoneyInCounter": 1.0,
    "TotalMoney_Payment4CusAndPutInCounter": 1.0,
    "PaymentDepositDate_Text": "sample string 10",
    "IsCustomerPickupItem_Text": "sample string 11",
    "Note_CustomerOrder": "sample string 12",
    "CustomerOrderId": "sample string 13",
    "MaterialId": "sample string 14",
    "MaterialCode": "sample string 15",
    "MaterialName": "sample string 16",
    "UnitId": "sample string 17",
    "UnitName": "sample string 18",
    "Price": 19.0,
    "Quantity": 20.0,
    "TotalPrice": 21.0,
    "Note": "sample string 22",
    "IsCanEdit_Material": true,
    "IsInventory": true,
    "IsInventory_Text": "sample string 25",
    "Feedback": "sample string 26"
  },
  "ExtraData": null,
  "StartTime": 1.1,
  "EndTime": 2.1,
  "TotalMili": 3.1,
  "StatusCode": 4,
  "Msg": "sample string 5",
  "MsgShowInUI": "sample string 6"
}

application/xml, text/xml

Sample:
<EzyResultObjectOfCustomerOrderDetailModel3BwjWE5f xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
  <Msg>sample string 5</Msg>
  <MsgShowInUI>sample string 6</MsgShowInUI>
  <StatusCode>4</StatusCode>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
    <d2p1:AppointmentDate_Text>sample string 9</d2p1:AppointmentDate_Text>
    <d2p1:Bill_TotalMoney>1</d2p1:Bill_TotalMoney>
    <d2p1:CounterName>sample string 7</d2p1:CounterName>
    <d2p1:CreatedBy>sample string 8</d2p1:CreatedBy>
    <d2p1:CustomerAddress>sample string 6</d2p1:CustomerAddress>
    <d2p1:CustomerName>sample string 4</d2p1:CustomerName>
    <d2p1:CustomerOrderId>sample string 13</d2p1:CustomerOrderId>
    <d2p1:CustomerPhone>sample string 5</d2p1:CustomerPhone>
    <d2p1:DepositMoney>1</d2p1:DepositMoney>
    <d2p1:Feedback>sample string 26</d2p1:Feedback>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:IsCanEdit_Material>true</d2p1:IsCanEdit_Material>
    <d2p1:IsCustomerPickupItem_Text>sample string 11</d2p1:IsCustomerPickupItem_Text>
    <d2p1:IsInventory>true</d2p1:IsInventory>
    <d2p1:IsInventory_Text>sample string 25</d2p1:IsInventory_Text>
    <d2p1:MaterialCode>sample string 15</d2p1:MaterialCode>
    <d2p1:MaterialId>sample string 14</d2p1:MaterialId>
    <d2p1:MaterialName>sample string 16</d2p1:MaterialName>
    <d2p1:Note>sample string 22</d2p1:Note>
    <d2p1:Note_CustomerOrder>sample string 12</d2p1:Note_CustomerOrder>
    <d2p1:OrderDate_Text>sample string 3</d2p1:OrderDate_Text>
    <d2p1:OrderNumber>sample string 2</d2p1:OrderNumber>
    <d2p1:PaymentDepositDate_Text>sample string 10</d2p1:PaymentDepositDate_Text>
    <d2p1:PaymentDepositMoney>1</d2p1:PaymentDepositMoney>
    <d2p1:Price>19</d2p1:Price>
    <d2p1:PutMoneyInCounter>1</d2p1:PutMoneyInCounter>
    <d2p1:Quantity>20</d2p1:Quantity>
    <d2p1:TotalMoney_Payment4CusAndPutInCounter>1</d2p1:TotalMoney_Payment4CusAndPutInCounter>
    <d2p1:TotalPrice>21</d2p1:TotalPrice>
    <d2p1:UnitId>sample string 17</d2p1:UnitId>
    <d2p1:UnitName>sample string 18</d2p1:UnitName>
  </Data>
  <EndTime>2.1</EndTime>
  <ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <StartTime>1.1</StartTime>
  <TotalMili>3.1</TotalMili>
</EzyResultObjectOfCustomerOrderDetailModel3BwjWE5f>