SoftLayer API'S 是否支持查询帐户的 "auto-approval" 设置?

Do SoftLayer API'S support querying the "auto-approval" settings of accounts?

我们目前正在调查 SL API 是否支持检查 SL 帐户的 "auto-approval" 设置。通过快速搜索,我不确定记录在案的 SL API 是否允许我们询问这一点。您能否确认我们是否可以这样做?

你需要调用方法getAttributes

在回复中您会看到类似这样的内容:

{
        "accountAttributeTypeId": 1,
        "accountId": 22222,
        "id": 111111,
        "value": "1",
        "accountAttributeType": {
            "description": "All sales orders for the account will be set to auto approve.",
            "id": 1,
            "keyName": "ORDER_AUTO_APPROVE"
        }

如果 "value" 的值为“1”,则说明您的帐户已启用自动批准,否则未启用。

以防万一您无法更改该设置,只有软件层的员工可以更改。