DescribeProjectInfo
調(diào)用DescribeProjectInfo獲取項(xiàng)目信息。
調(diào)試
您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。
請(qǐng)求參數(shù)
名稱(chēng) |
類(lèi)型 |
是否必選 |
示例值 |
描述 |
Action | String | 是 | DescribeProjectInfo | 系統(tǒng)規(guī)定參數(shù)。取值:DescribeProjectInfo。 |
InstanceId | String | 是 | 4****89 | 云市場(chǎng)業(yè)務(wù)實(shí)例ID。 |
返回?cái)?shù)據(jù)
名稱(chēng) |
類(lèi)型 |
示例值 |
描述 |
Success | Boolean | true | 成功狀態(tài)標(biāo)識(shí) |
RequestId | String | ee3e1b3b-6c38-4bcf-be40-5a946cfda761 | 請(qǐng)求ID |
Result | Object | 返回結(jié)果 |
|
ProductName | String | 公司寶****記賬 | 云市場(chǎng)商品名稱(chēng) |
ProjectStatus | String | Starting | 項(xiàng)目執(zhí)行狀態(tài),取值:
|
CustomerAliUid | Long | 27291111**** | 用戶(hù)阿里云UID |
TemplateType | String | Public | 項(xiàng)目所屬模板類(lèi)型,取值:
|
InstanceId | String | 4****89 | 云市場(chǎng)業(yè)務(wù)實(shí)例ID |
ProductSkuName | String | 小***納稅人 | 云市場(chǎng)商品規(guī)格名稱(chēng) |
FinalStepNo | Integer | 4 | 最后節(jié)點(diǎn)的序號(hào) |
CurrentStepNo | Integer | 3 | 當(dāng)前流程節(jié)點(diǎn) |
GmtExpired | Long | 1620403200000 | 項(xiàng)目超時(shí)時(shí)間(Unix時(shí)間戳) |
GmtFinished | Long | 1620403200000 | 項(xiàng)目完成時(shí)間(Unix時(shí)間戳) |
ProductSkuCode | String | yuncode****500001 | 云市場(chǎng)商品規(guī)格Code |
GmtCreate | Long | 1588834324000 | 項(xiàng)目創(chuàng)建時(shí)間(Unix時(shí)間戳) |
SupplierAliUid | Long | 45121111**** | 項(xiàng)目所屬?gòu)S商UID |
FinishType | String | null | 項(xiàng)目完成方式,取值:
|
TemplateId | Long | 410 | 項(xiàng)目所屬流程模板ID |
OrderId | Long | 2059111111111 | 訂單ID |
ProductCode | String | cmgj***055 | 商品Code |
示例
請(qǐng)求示例
http(s)://market.aliyuncs.com/?Action=DescribeProjectInfo
&InstanceId=4****89
&<公共請(qǐng)求參數(shù)>
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeProjectInfoResponse>
<requestId>ee3e1b3b-6c38-4bcf-be40-5a946cfda761</requestId>
<result>
<currentStepNo>3</currentStepNo>
<customerAliUid>27291111****</customerAliUid>
<finalStepNo>4</finalStepNo>
<finishType/>
<gmtCreate>1588834324000</gmtCreate>
<gmtExpired>1620403200000</gmtExpired>
<gmtFinished/>
<instanceId>4****89</instanceId>
<orderId>2059111111111</orderId>
<productCode>cmgj***055</productCode>
<productName>公司寶****記賬</productName>
<productSkuCode>yuncode****500001</productSkuCode>
<productSkuName>小***納稅人</productSkuName>
<projectStatus>Starting</projectStatus>
<supplierAliUid>45121111****</supplierAliUid>
<templateId>410</templateId>
<templateType>Public</templateType>
</result>
<success>true</success>
</DescribeProjectInfoResponse>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"requestId" : "ee3e1b3b-6c38-4bcf-be40-5a946cfda761",
"result" : {
"currentStepNo" : 3,
"customerAliUid" : "27291111****",
"finalStepNo" : 4,
"finishType" : "",
"gmtCreate" : 1588834324000,
"gmtExpired" : 1620403200000,
"instanceId" : "4****89",
"orderId" : 2059111111111,
"productCode" : "cmgj***055",
"productName" : "公司寶****記賬",
"productSkuCode" : "yuncode****500001",
"productSkuName" : "小***納稅人",
"projectStatus" : "Starting",
"supplierAliUid" : "45121111****",
"templateId" : 410,
"templateType" : "Public"
},
"success" : true
}
錯(cuò)誤碼
HttpCode |
錯(cuò)誤碼 |
錯(cuò)誤信息 |
描述 |
400 | IllegalRequest | Illegal request. | 請(qǐng)求參數(shù)異常 |
400 | IllegalParameter | Illegal parameter %s. | 參數(shù)異常 |
400 | IllegalResult | Illegal result. | 數(shù)據(jù)結(jié)果異常 |
400 | IllegalPermission | Permission Denied. | 該賬號(hào)沒(méi)有權(quán)限 |
500 | InternalError | The request processing has failed due to some unknown error. | 請(qǐng)求發(fā)生系統(tǒng)異常 |
訪問(wèn)錯(cuò)誤中心查看更多錯(cuò)誤碼。