Smart PMSQuery the FFS Info

Query the FFS Info

Last Updated on : 2022-03-02 03:46:43download

Definitions

Name Version Description
v1.0/pms/ffs/print/get 1.0 ffs information print

Request

  • HTTP type

    Post

  • Parameters

    Name Type Description Required
    attributeType String attribute type Yes
    attributeValue String attribute value Yes
  • Other parameters

    None

Request example

{ "attributeType" : "MAC", "attributeValue" : "abcde1234599" }

Response

Name Type Description
result result for response
result.orderCode String order code
result.sn String SN
result.ffsPID String Amazon fff pid
result.publicKeyData String Amazon publicKey
result.pin String Amazon pin
success Boolean succeed or not

Response example

Successful response

{ "result" : { "orderCode":"SCDEREDE", "sn":"SCDEREDE00001", "ffsPID":"xdfderwzddsdfrtewfd", "pin":"ewuiodnsdioe", "mac":"68572d4c8209", "publicKeyData":"jdklsfjsjdKLjkdlsjldfJjKJDolsfsdfsdf" }, "success": true }

Error response

{ "success": false, "code" : "THE_USER_NOT_EXISTED", "mes" : "user does not exist" }

Error code

Name Description
THE_BLANK_PARAM parameter can not be empty
THE_USER_NOT_EXISTED user does not exist
NO_DATA_PERMISSION no operation permission