我们目前正在调查SL API是否支持检查"自动批准"设置SL帐户。通过快速搜索,我不确定所记录的SL API是否允许我们查询。你能否确认一下我们是否可以这样做?
答案 0 :(得分:0)
您需要调用方法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"
}
如果“值”的值为“1”,那么您的帐户已启用自动启用,否则它没有。
万一你不能改变那个设置,只有softlayer的雇主才能做到。