POST api/v1/CustomerOrder/ApproveCustomerOrderHasSuccess

Request Information

URI Parameters

None.

Body Parameters

CustomerOrderModel
NameDescriptionTypeAdditional information
Id

string

None.

OrderNumber

string

None.

OrderDate

decimal number

None.

CustomerId

string

None.

CustomerCode

string

None.

CustomerName

string

None.

CustomerPhone

string

None.

CustomerAddress

string

None.

CustomerEmail

string

None.

CreatedById

string

None.

CreatedByName

string

None.

TotalMoney

decimal number

None.

DepositMoney

decimal number

None.

DepositDate

decimal number

None.

PaymentDepositMoney

decimal number

None.

PaymentDepositDate

decimal number

None.

Note

string

None.

Expander_CustomerOrderDetail

string

None.

AppointmentDate

decimal number

None.

IsProcess

integer

None.

CounterId

string

None.

UserProcessId

string

None.

IsCanEdit_Supplier

boolean

None.

IsCanEdit_DepositMoney

boolean

None.

IsLocked

boolean

None.

btn_ApproveReceiveDeposit

string

None.

btn_ApprovePaymentDeposit

string

None.

btn_ApproveCustomerOrderHasProcess

string

None.

PutMoneyInCounter

decimal number

None.

TotalMoney_Payment4CusAndPutInCounter

decimal number

None.

IsCustomerPickupItem

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "OrderNumber": "sample string 2",
  "OrderDate": 1.1,
  "CustomerId": "sample string 3",
  "CustomerCode": "sample string 4",
  "CustomerName": "sample string 5",
  "CustomerPhone": "sample string 6",
  "CustomerAddress": "sample string 7",
  "CustomerEmail": "sample string 8",
  "CreatedById": "sample string 9",
  "CreatedByName": "sample string 10",
  "TotalMoney": 11.0,
  "DepositMoney": 12.0,
  "DepositDate": 1.1,
  "PaymentDepositMoney": 13.0,
  "PaymentDepositDate": 1.1,
  "Note": "sample string 14",
  "Expander_CustomerOrderDetail": "sample string 15",
  "AppointmentDate": 1.1,
  "IsProcess": 16,
  "CounterId": "sample string 17",
  "UserProcessId": "sample string 18",
  "IsCanEdit_Supplier": true,
  "IsCanEdit_DepositMoney": true,
  "IsLocked": true,
  "btn_ApproveReceiveDeposit": "sample string 22",
  "btn_ApprovePaymentDeposit": "sample string 23",
  "btn_ApproveCustomerOrderHasProcess": "sample string 24",
  "PutMoneyInCounter": 25.0,
  "TotalMoney_Payment4CusAndPutInCounter": 26.0,
  "IsCustomerPickupItem": true
}

application/xml, text/xml

Sample:
<CustomerOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <AppointmentDate>1.1</AppointmentDate>
  <CounterId>sample string 17</CounterId>
  <CreatedById>sample string 9</CreatedById>
  <CreatedByName>sample string 10</CreatedByName>
  <CustomerAddress>sample string 7</CustomerAddress>
  <CustomerCode>sample string 4</CustomerCode>
  <CustomerEmail>sample string 8</CustomerEmail>
  <CustomerId>sample string 3</CustomerId>
  <CustomerName>sample string 5</CustomerName>
  <CustomerPhone>sample string 6</CustomerPhone>
  <DepositDate>1.1</DepositDate>
  <DepositMoney>12</DepositMoney>
  <Expander_CustomerOrderDetail>sample string 15</Expander_CustomerOrderDetail>
  <Id>sample string 1</Id>
  <IsCanEdit_DepositMoney>true</IsCanEdit_DepositMoney>
  <IsCanEdit_Supplier>true</IsCanEdit_Supplier>
  <IsCustomerPickupItem>true</IsCustomerPickupItem>
  <IsLocked>true</IsLocked>
  <IsProcess>16</IsProcess>
  <Note>sample string 14</Note>
  <OrderDate>1.1</OrderDate>
  <OrderNumber>sample string 2</OrderNumber>
  <PaymentDepositDate>1.1</PaymentDepositDate>
  <PaymentDepositMoney>13</PaymentDepositMoney>
  <PutMoneyInCounter>25</PutMoneyInCounter>
  <TotalMoney>11</TotalMoney>
  <TotalMoney_Payment4CusAndPutInCounter>26</TotalMoney_Payment4CusAndPutInCounter>
  <UserProcessId>sample string 18</UserProcessId>
  <btn_ApproveCustomerOrderHasProcess>sample string 24</btn_ApproveCustomerOrderHasProcess>
  <btn_ApprovePaymentDeposit>sample string 23</btn_ApprovePaymentDeposit>
  <btn_ApproveReceiveDeposit>sample string 22</btn_ApproveReceiveDeposit>
</CustomerOrderModel>

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 'CustomerOrderModel'.

Response Information

Resource Description

EzyResultObjectOfCustomerOrderModel
NameDescriptionTypeAdditional information
Data

CustomerOrderModel

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": 1.1,
    "CustomerId": "sample string 3",
    "CustomerCode": "sample string 4",
    "CustomerName": "sample string 5",
    "CustomerPhone": "sample string 6",
    "CustomerAddress": "sample string 7",
    "CustomerEmail": "sample string 8",
    "CreatedById": "sample string 9",
    "CreatedByName": "sample string 10",
    "TotalMoney": 11.0,
    "DepositMoney": 12.0,
    "DepositDate": 1.1,
    "PaymentDepositMoney": 13.0,
    "PaymentDepositDate": 1.1,
    "Note": "sample string 14",
    "Expander_CustomerOrderDetail": "sample string 15",
    "AppointmentDate": 1.1,
    "IsProcess": 16,
    "CounterId": "sample string 17",
    "UserProcessId": "sample string 18",
    "IsCanEdit_Supplier": true,
    "IsCanEdit_DepositMoney": true,
    "IsLocked": true,
    "btn_ApproveReceiveDeposit": "sample string 22",
    "btn_ApprovePaymentDeposit": "sample string 23",
    "btn_ApproveCustomerOrderHasProcess": "sample string 24",
    "PutMoneyInCounter": 25.0,
    "TotalMoney_Payment4CusAndPutInCounter": 26.0,
    "IsCustomerPickupItem": true
  },
  "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:
<EzyResultObjectOfCustomerOrderModel3BwjWE5f 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>1.1</d2p1:AppointmentDate>
    <d2p1:CounterId>sample string 17</d2p1:CounterId>
    <d2p1:CreatedById>sample string 9</d2p1:CreatedById>
    <d2p1:CreatedByName>sample string 10</d2p1:CreatedByName>
    <d2p1:CustomerAddress>sample string 7</d2p1:CustomerAddress>
    <d2p1:CustomerCode>sample string 4</d2p1:CustomerCode>
    <d2p1:CustomerEmail>sample string 8</d2p1:CustomerEmail>
    <d2p1:CustomerId>sample string 3</d2p1:CustomerId>
    <d2p1:CustomerName>sample string 5</d2p1:CustomerName>
    <d2p1:CustomerPhone>sample string 6</d2p1:CustomerPhone>
    <d2p1:DepositDate>1.1</d2p1:DepositDate>
    <d2p1:DepositMoney>12</d2p1:DepositMoney>
    <d2p1:Expander_CustomerOrderDetail>sample string 15</d2p1:Expander_CustomerOrderDetail>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:IsCanEdit_DepositMoney>true</d2p1:IsCanEdit_DepositMoney>
    <d2p1:IsCanEdit_Supplier>true</d2p1:IsCanEdit_Supplier>
    <d2p1:IsCustomerPickupItem>true</d2p1:IsCustomerPickupItem>
    <d2p1:IsLocked>true</d2p1:IsLocked>
    <d2p1:IsProcess>16</d2p1:IsProcess>
    <d2p1:Note>sample string 14</d2p1:Note>
    <d2p1:OrderDate>1.1</d2p1:OrderDate>
    <d2p1:OrderNumber>sample string 2</d2p1:OrderNumber>
    <d2p1:PaymentDepositDate>1.1</d2p1:PaymentDepositDate>
    <d2p1:PaymentDepositMoney>13</d2p1:PaymentDepositMoney>
    <d2p1:PutMoneyInCounter>25</d2p1:PutMoneyInCounter>
    <d2p1:TotalMoney>11</d2p1:TotalMoney>
    <d2p1:TotalMoney_Payment4CusAndPutInCounter>26</d2p1:TotalMoney_Payment4CusAndPutInCounter>
    <d2p1:UserProcessId>sample string 18</d2p1:UserProcessId>
    <d2p1:btn_ApproveCustomerOrderHasProcess>sample string 24</d2p1:btn_ApproveCustomerOrderHasProcess>
    <d2p1:btn_ApprovePaymentDeposit>sample string 23</d2p1:btn_ApprovePaymentDeposit>
    <d2p1:btn_ApproveReceiveDeposit>sample string 22</d2p1:btn_ApproveReceiveDeposit>
  </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>
</EzyResultObjectOfCustomerOrderModel3BwjWE5f>