• English
  • syncSignList API

    Request Server Configuration Identifier Sync

    Function and Process Description

        Log in to the software through this API and upload server configuration identifiers.

    Data Format

    • [Request URL] /async/syncSignList.do

    • [Request Method] POST

    Request Parameters

    Variable NameTypeNullableDescription
    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 AES-encrypt AppKey+","+{13-digit timestamp of the current client}. The server decrypts it and verifies whether the appKey matches. If not, the request is not processed. If the timestamp differs too much from the server's current time, the request is discarded to prevent replay attacks after modification.
    syncVerStringNSync version number x.x.x
    userSignStringNUnique user identifier
    encTypeStringNEncryption type. 1 indicates AES encryption

    Response Result

    Level 1 ParameterLevel 2 ParameterLevel 3 ParameterLevel 4 ParameterTypeDescription
    dataObjectNone
    hashStringAES encryption of the plaintext timestamp from the hash value uploaded by the client. The client decrypts it and compares it with the request. If they don't match, the request is not processed.
    upload arrayData that the client needs to upload to update the server
    tableNameStringDatabase table name
    dataarrayData identifiers to be uploaded
    unidStringUnique data identifier
    update arrayData that the client needs to update
    tableNameStringDatabase table name
    dataarrayData identifiers to be updated
    unidStringUnique data identifier
    delete arrayData that the client needs to remove
    tableNameStringDatabase table name
    dataarrayData identifiers to be updated
    unidStringUnique data identifier
    msgStringResult description
    resultStringProcessing result. 0 indicates success, other values indicate failure