Authentication - Generate access token
몇 가지 파트너 API 리소스에 액세스하는 데 필요한 액세스 토큰을 생성합니다. 현재 버전의 API입니다. 더 이상 사용되지 않는 이전 버전 사용을 중단하세요. 액세스 토큰 생성(사용되지 않음)
POST https://api.partnercenter.microsoft.com/v3/generatetoken
요청 헤더
Media Types: "application/json", "application/xml", "text/xml", "application/x-www-form-urlencoded", "text/json"
요청 본문
Media Types: "application/json", "application/xml", "text/xml", "application/x-www-form-urlencoded", "text/json"
Name | 형식 | Description |
---|---|---|
grant_type |
string |
grant_type=jwt_token만 지원합니다. |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
요청이 성공했습니다. Media Types: "application/json", "application/xml", "text/xml", "text/json" |
|
400 Bad Request |
입력이 없거나 잘못되었습니다. 응답 본문에는 오류 세부 정보가 포함됩니다. Media Types: "application/json", "application/xml", "text/xml", "text/json" |
|
401 Unauthorized |
요청이 인증되지 않았습니다. 클라이언트는 먼저 파트너 API 서비스를 사용하여 인증해야 합니다. Media Types: "application/json", "application/xml", "text/xml", "text/json" |
|
403 Forbidden |
요청이 인증되었지만 호출자에게 호출할 권한이 없기 때문에 거부되었습니다. Media Types: "application/json", "application/xml", "text/xml", "text/json" |
|
404 Not Found |
리소스를 찾을 수 없거나 지정된 입력 매개 변수와 함께 사용할 수 없습니다. Media Types: "application/json", "application/xml", "text/xml", "text/json" |
|
500 Internal Server Error |
파트너 API 서비스 또는 해당 종속성 중 하나가 요청을 충족하지 못했습니다. 호출자는 요청을 다시 시도할 수 있습니다. Media Types: "application/json", "application/xml", "text/xml", "text/json" |