Skip to main content

syncSignList

Request server configuration identity synchronization

Function and Process Description

    Log in to the software through this interface and upload the server configuration identifier.

Data format

  • [Request URL] /async/syncSignList.do

  • [Request Method] POST

Request parameters

Variable NameTypeCan be emptyExplanation
signListStringNJSON string: format as follows:
[
    {
      TableName ":" Database table name "
      "data":[
        {
          Unid ":" Identification ",
          CTime ":" Timestamp ",
          "State": "Data status, 0 is normal, 1 indicates deletion"
        }
      ]
    }
……
]
hashStringNHash value, use SecretKey to match AppKey with ","+{ 13 bit timestamp of the current client} Perform AES encryption, perform reverse decryption on the server side to determine if the appKey matches. If it does not match, no processing will be performed. If the timestamp differs too much from the current server's time, it will be discarded to prevent replay attacks after modification
syncVerStringNSynchronized version number x.x.x
userSignStringNUser unique identifier
encTypeStringNEncryption type, 1 indicates the use of AES encryption

Return result

Primary parameterSecondary ParametersThird level parametersFourth level parametersTypeExplanation
dataObjectNone
hashStringAES encryption of the plaintext timestamp of the hash value uploaded by the client, and comparison with the request after decryption by the client. If it is inconsistent, no processing will be carried out
upload arrayClient needs to upload server updated data
tableNameStringDatabase table name
dataarrayIdentification of data to be uploaded
unidStringUnique identifier of data
update arrayData that needs to be updated by the client
tableNameStringDatabase table name
dataarrayData identification that needs to be updated
unidStringUnique identifier of data
delete arrayData that needs to be removed by the client
tableNameStringDatabase table name
dataarrayData identification that needs to be updated
unidStringUnique identifier of data
msgStringResult description
resultStringProcessing result, 0 indicates success, others indicate failure