POST api/v1/SyncData_SaveLog/Update

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

EzyResultObjectOfSyncDataModel
NameDescriptionTypeAdditional information
Data

SyncDataModel

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