工业数字模型驱动引擎-异步申请License:请求消息

时间:2023-12-25 15:16:11

请求消息

请求参数说明请参见下表:

请求方法:POST

参数

是否必选

类型

取值范围

说明

activity

M

String

20

接口请求标识,用于区分接口请求场景。

异步申请License场景取值:getLicenseAsync

instanceId

M

String

64

业务资源实例ID

effectiveTime

M

String

32

License生效utc时间

expireTime

O

String

32

License失效utc时间,包周期类型必输

eventId

M

String

64

云商店业务流水号,用于商家服务器结合设备指纹,区分是否是同一次申请License的请求,支持License传输中断等业务需要重试的场景

deviceFingerprint

O

String

1024

设备指纹或硬件识别编码,用于需要绑定设备物理标识信息生成License的场景

testFlag

O

String

2

是否为调试请求。

  • 1:调试请求
  • 0:非调试请求

默认取值为“0”。

请求消息示例:

curl -X POST 'https://www.isvwebsite.com/saasproduce?signature=11C4C*********31DEF5C515*******B8A3A6D8******7A48&timestamp=1680508066618&nonce=50D83FDECAED6CCD8EF597F2A577950527928BA287D04E6036E92B2806FD17DA' -H 'Accept:application/json' -H 'Content-Type:application/json;charset=utf8' -d'{"activity":"getLicenseAsync","eventId":"8****e5694*****c8","instanceId":"RA2****4LVS","effectiveTime":"2023-10-27 10:30:15 z","expireTime":"2024-10-27 10:30:15 z","deviceFingerprint":"8******6034e2*****60e1"}'
support.huaweicloud.com/accessg-saascenter/saascenter_accessg_0037.html