POST api/v1/SyncData_SignalFromClient/AddSyncDataHistoryAtPOS

Request Information

URI Parameters

None.

Body Parameters

SyncDataModel
NameDescriptionTypeAdditional information
Id

string

None.

POSName

string

None.

POSCode

string

None.

CatName

string

None.

btn_SyncBill

string

None.

ResultData

string

None.

btn_SyncMaterial

string

None.

ResultData_SyncMaterial

string

None.

btn_SyncQuantum

string

None.

ResultData_SyncQuantum

string

None.

btn_SyncCatOther

string

None.

ResultData_SyncCatOther

string

None.

btn_SyncCustomerVoucherByPoint_POS

string

None.

btn_SyncCustomerVoucherByPoint_Server

string

None.

btn_SyncCustomerReward4M_Notification_POS

string

None.

btn_SyncCustomerReward4M_Notification_Server

string

None.

ResultData_SyncCusVoucherByPoint

string

None.

ResultData_SyncCusVoucherByPoint_POS

string

None.

ResultData_SyncCusVoucherByPoint_Server

string

None.

ResultData_SyncCustomerReward4M_Notification

string

None.

ResultData_SyncCustomerReward4M_Notification_POS

string

None.

ResultData_SyncCustomerReward4M_Notification_Server

string

None.

btn_SyncDataType

string

None.

SyncAt

decimal number

None.

SyncBy

string

None.

IsSyncSuccess

boolean

None.

Color_SyncFail

string

None.

IsConnectPOSAndServer

boolean

None.

MessageConnectError

string

None.

IsLastSyncSuccess

boolean

None.

FromDate

decimal number

None.

ToDate

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "POSName": "sample string 2",
  "POSCode": "sample string 3",
  "CatName": "sample string 4",
  "btn_SyncBill": "sample string 5",
  "ResultData": "sample string 6",
  "btn_SyncMaterial": "sample string 7",
  "ResultData_SyncMaterial": "sample string 8",
  "btn_SyncQuantum": "sample string 9",
  "ResultData_SyncQuantum": "sample string 10",
  "btn_SyncCatOther": "sample string 11",
  "ResultData_SyncCatOther": "sample string 12",
  "btn_SyncCustomerVoucherByPoint_POS": "sample string 13",
  "btn_SyncCustomerVoucherByPoint_Server": "sample string 14",
  "btn_SyncCustomerReward4M_Notification_POS": "sample string 15",
  "btn_SyncCustomerReward4M_Notification_Server": "sample string 16",
  "ResultData_SyncCusVoucherByPoint": "sample string 17",
  "ResultData_SyncCusVoucherByPoint_POS": "sample string 18",
  "ResultData_SyncCusVoucherByPoint_Server": "sample string 19",
  "ResultData_SyncCustomerReward4M_Notification": "sample string 20",
  "ResultData_SyncCustomerReward4M_Notification_POS": "sample string 21",
  "ResultData_SyncCustomerReward4M_Notification_Server": "sample string 22",
  "btn_SyncDataType": "sample string 23",
  "SyncAt": 1.1,
  "SyncBy": "sample string 24",
  "IsSyncSuccess": true,
  "Color_SyncFail": "sample string 26",
  "IsConnectPOSAndServer": true,
  "MessageConnectError": "sample string 28",
  "IsLastSyncSuccess": true,
  "FromDate": 1.1,
  "ToDate": 1.1
}

application/xml, text/xml

Sample:
<SyncDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <CatName>sample string 4</CatName>
  <Color_SyncFail>sample string 26</Color_SyncFail>
  <FromDate>1.1</FromDate>
  <Id>sample string 1</Id>
  <IsConnectPOSAndServer>true</IsConnectPOSAndServer>
  <IsLastSyncSuccess>true</IsLastSyncSuccess>
  <IsSyncSuccess>true</IsSyncSuccess>
  <MessageConnectError>sample string 28</MessageConnectError>
  <POSCode>sample string 3</POSCode>
  <POSName>sample string 2</POSName>
  <ResultData>sample string 6</ResultData>
  <ResultData_SyncCatOther>sample string 12</ResultData_SyncCatOther>
  <ResultData_SyncCusVoucherByPoint>sample string 17</ResultData_SyncCusVoucherByPoint>
  <ResultData_SyncCusVoucherByPoint_POS>sample string 18</ResultData_SyncCusVoucherByPoint_POS>
  <ResultData_SyncCusVoucherByPoint_Server>sample string 19</ResultData_SyncCusVoucherByPoint_Server>
  <ResultData_SyncCustomerReward4M_Notification>sample string 20</ResultData_SyncCustomerReward4M_Notification>
  <ResultData_SyncCustomerReward4M_Notification_POS>sample string 21</ResultData_SyncCustomerReward4M_Notification_POS>
  <ResultData_SyncCustomerReward4M_Notification_Server>sample string 22</ResultData_SyncCustomerReward4M_Notification_Server>
  <ResultData_SyncMaterial>sample string 8</ResultData_SyncMaterial>
  <ResultData_SyncQuantum>sample string 10</ResultData_SyncQuantum>
  <SyncAt>1.1</SyncAt>
  <SyncBy>sample string 24</SyncBy>
  <ToDate>1.1</ToDate>
  <btn_SyncBill>sample string 5</btn_SyncBill>
  <btn_SyncCatOther>sample string 11</btn_SyncCatOther>
  <btn_SyncCustomerReward4M_Notification_POS>sample string 15</btn_SyncCustomerReward4M_Notification_POS>
  <btn_SyncCustomerReward4M_Notification_Server>sample string 16</btn_SyncCustomerReward4M_Notification_Server>
  <btn_SyncCustomerVoucherByPoint_POS>sample string 13</btn_SyncCustomerVoucherByPoint_POS>
  <btn_SyncCustomerVoucherByPoint_Server>sample string 14</btn_SyncCustomerVoucherByPoint_Server>
  <btn_SyncDataType>sample string 23</btn_SyncDataType>
  <btn_SyncMaterial>sample string 7</btn_SyncMaterial>
  <btn_SyncQuantum>sample string 9</btn_SyncQuantum>
</SyncDataModel>

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

Response Information

Resource Description

EzyResultObjectOfString
NameDescriptionTypeAdditional information
Data

string

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": "sample string 1",
  "ExtraData": null,
  "StartTime": 2.1,
  "EndTime": 3.1,
  "TotalMili": 4.1,
  "StatusCode": 5,
  "Msg": "sample string 6",
  "MsgShowInUI": "sample string 7"
}

application/xml, text/xml

Sample:
<EzyResultObjectOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
  <Msg>sample string 6</Msg>
  <MsgShowInUI>sample string 7</MsgShowInUI>
  <StatusCode>5</StatusCode>
  <Data>sample string 1</Data>
  <EndTime>3.1</EndTime>
  <ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <StartTime>2.1</StartTime>
  <TotalMili>4.1</TotalMili>
</EzyResultObjectOfstring>