Manage billing - Get a customer's service costs summary
고객의 구독에 의해 발생하는 서비스 비용을 검색합니다.
GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/servicecosts/{billing_period}
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
billing_period
|
path | True |
string |
서비스 비용을 쿼리하는 청구 기간입니다. 현재는 "MostRecent"만 지원됩니다. |
customer_id
|
path | True |
string |
고객 테넌트 ID입니다. |
요청 헤더
Name | 필수 | 형식 | Description |
---|---|---|---|
Authorization | True |
string |
권한 부여 전달자 토큰 |
ms-correlationid |
string |
내부적으로 요청을 추적하는 데 사용됩니다. ms-correlationid가 제공되지 않으면 서버는 각 요청에 대해 새 상관 관계를 생성합니다. |
|
ms-cv |
string |
내부적으로 요청을 추적하는 데 사용됩니다. ms-cv 제공되지 않으면 서버는 각 요청에 대해 새 ms-cv 생성합니다. |
|
ms-requestid |
string |
요청의 idempotency에 사용됩니다. ms-requestid가 제공되지 않으면 서버는 각 요청에 대해 새 요청을 생성합니다. |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
요청이 성공했습니다. 응답 본문에는 요청된 고객 서비스 비용이 포함됩니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
400 Bad Request |
누락되었거나 잘못된 입력이 있었습니다. 응답 본문은 오류 세부 정보를 제공합니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
401 Unauthorized |
요청이 인증되지 않았습니다. 클라이언트는 먼저 파트너 API 서비스를 사용하여 인증해야 합니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
403 Forbidden |
요청이 인증되었지만 호출자가 호출할 권한이 없으므로 거부되었습니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
404 Not Found |
리소스를 찾을 수 없거나 지정된 입력 매개 변수와 함께 사용할 수 없습니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
500 Internal Server Error |
파트너 API 서비스 또는 해당 종속성 중 하나가 요청을 충족하지 못했습니다. 호출자는 이를 다시 시도할 수 있습니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
정의
Collections.Link
Name | 형식 | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Collections.ResourceAttributes
Name | 형식 | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Collections.ResourceLinks
Name | 형식 | Description |
---|---|---|
next | ||
previous | ||
self |
ServiceCostsSummary
Name | 형식 | Description |
---|---|---|
afterTaxTotal |
number |
|
attributes | ||
billingEndDate |
string |
|
billingStartDate |
string |
|
currencyCode |
string |
|
currencySymbol |
string |
|
customerId |
string |
|
details | ||
links | ||
pretaxTotal |
number |
|
tax |
number |
ServiceCostsSummaryDetail
Name | 형식 | Description |
---|---|---|
invoiceType |
string |
|
summary |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | 형식 | Description |
---|---|---|
key |
string |
|
value |
string |