การฝึกอบรม
โมดูล
在 Dynamics 365 Business Central 中处理服务订单 - Training
管理服务订单是提供优质客户服务的一个重要方面。 本模块介绍如何在 Dynamics 365 Business Central 中有效地创建、管理和跟踪服务订单,并帮助简化服务运营和提高客户满意度。
เบราว์เซอร์นี้ไม่ได้รับการสนับสนุนอีกต่อไป
อัปเกรดเป็น Microsoft Edge เพื่อใช้ประโยชน์จากคุณลักษณะล่าสุด เช่น การอัปเดตความปลอดภัยและการสนับสนุนด้านเทคนิค
Applies to: Partner Center | Partner Center operated by 21Vianet | Partner Center for Microsoft Cloud for US Government
Appropriate roles: Admin agent
Gets a collection of order line item provisioning status for an order.
Credentials as described in Partner Center authentication. This scenario supports authentication with App+User credentials only.
A customer ID (customer-tenant-id
). If you don't know the customer's ID, you can look it up in Partner Center by selecting the Customers workspace, then the customer from the customer list, then Account. On the customer’s Account page, look for the Microsoft ID in the Customer Account Info section. The Microsoft ID is the same as the customer ID (customer-tenant-id
).
An order identifier.
To get the provisioning status of an order, use the following code snippet:
// Retrieve an order's provisioning status.
var customerOrder = partnerOperations.Customers.ById(customerId).Orders.ById(orderId).Get();
var provisioningStatusList = partnerOperations.Customers.ById(customerId).Orders.ById(customerOrder.Id).ProvisioningStatus.Get();
Method | Request URI |
---|---|
GET | {baseURL}/v1/customers/{customer-id}/orders/{order-id}/provisioningstatus HTTP/1.1 |
Use the following path parameters to identify the customer and subscription.
Name | Type | Required | Description |
---|---|---|---|
customer-id | string | Yes | A GUID formatted string that identifies the customer. |
order-id | string | Yes | A string that identifies the order. |
For more information, see Partner Center REST headers.
None.
GET https://api.partnercenter.microsoft.com/v1/customers/0c39d6d5-c70d-4c55-bc02-f620844f3fd1/orders/34828C05-C16C-4D6F-9CFC-4D2650EF19A1/provisioningstatus HTTP/1.1
Accept: application/json, text/plain, */*
Authorization: Bearer <token>
MS-RequestId: d0e38dfd-a2c5-4a14-ac06-12d30f0ec54e
MS-CorrelationId: aaaa0000-bb11-2222-33cc-444444dddddd
X-Locale: en-US
Host: api.partnercenter.microsoft.com
If successful, the response body contains a OrderLineItemProvisioningStatus resource.
Each response comes with an HTTP status code that indicates success or failure and additional debugging information. Use a network trace tool to read this code, error type, and additional parameters. For the full list, see Partner Center REST error codes.
HTTP/1.1 200 OK
Content-Length: 177
Content-Type: application/json; charset=utf-8
MS-CorrelationId: aaaa0000-bb11-2222-33cc-444444dddddd
MS-RequestId: d0e38dfd-a2c5-4a14-ac06-12d30f0ec54e
MS-CV: InswEQre402koceL.0
MS-ServerId: 030020344
Date: Thu, 20 Apr 2017 19:23:39 GMT
{
"totalCount": 1,
"items": [
{
"orderLineItemId": 0,
"lineItemNumber": 0,
"status": "fulfilled",
"quantityProvisioningInformation": [
{
"quantity": 1,
"status": "fulfilled"
}
]
}
],
"attributes": {
"objectType": "Collection"
}
}
การฝึกอบรม
โมดูล
在 Dynamics 365 Business Central 中处理服务订单 - Training
管理服务订单是提供优质客户服务的一个重要方面。 本模块介绍如何在 Dynamics 365 Business Central 中有效地创建、管理和跟踪服务订单,并帮助简化服务运营和提高客户满意度。