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 Name | Type | Can be empty | Explanation |
---|---|---|---|
signList | String | N | JSON string: format as follows: [ { TableName ":" Database table name " "data":[ { Unid ":" Identification ", CTime ":" Timestamp ", "State": "Data status, 0 is normal, 1 indicates deletion" } ] } …… ] |
hash | String | N | Hash 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 |
syncVer | String | N | Synchronized version number x.x.x |
userSign | String | N | User unique identifier |
encType | String | N | Encryption type, 1 indicates the use of AES encryption |
Return result
Primary parameter | Secondary Parameters | Third level parameters | Fourth level parameters | Type | Explanation |
---|---|---|---|---|---|
data | Object | None | |||
hash | String | AES 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 | array | Client needs to upload server updated data | |||
tableName | String | Database table name | |||
data | array | Identification of data to be uploaded | |||
unid | String | Unique identifier of data | |||
update | array | Data that needs to be updated by the client | |||
tableName | String | Database table name | |||
data | array | Data identification that needs to be updated | |||
unid | String | Unique identifier of data | |||
delete | array | Data that needs to be removed by the client | |||
tableName | String | Database table name | |||
data | array | Data identification that needs to be updated | |||
unid | String | Unique identifier of data | |||
msg | String | Result description | |||
result | String | Processing result, 0 indicates success, others indicate failure |