Adjust Balance
Version 4.0.0
Endpoint
POST
https://serverRoot/tmf-api/prepayBalanceManagement/v4/adjustBalance
Copy
This operation creates an AdjustBalance entity. (TMF 654)
oauth2
Get a JWT Token from AT&T's Azure AD
x-amf-settings:
securedBy:
authorizationCode:
scopes:
tokenUrl:https://login.microsoftonline.com/xxxxxxxxxx/oauth2/v2.0/token
authorizationUrl:https://login.microsoftonline.com/xxxxxxxxxx/oauth2/v2.0/token
x-amf-describedBy:
headers:
Authorization:
responses:
200:
body:
application/json:
properties:
token_type:
default:Bearer
example:Bearer
expires_in:
format:int
access_token:
example:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
ext_expires_in:
format:int
400:
body:
application/json:
properties:
error:
example:unauthorized_client
trace_id:
example:b82bea2f-5ee3-48a4-9774-4143176a6900
timestamp:
example:2021-06-30 21:12:34Z
error_uri:
example:https://login.microsoftonline.com/error?code=700016
error_codes:
items:
format:int
correlation_id:
example:b57403ef-e775-49f6-b40f-009ba759c301
error_description:
example:AADSTS700016: Application with identifier '6bb2748d-d916-4534-9145-ee8f598d2e01' was not found in the directory 'e741d71c-c6b6-47b0-803c-0f3b32b07556'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: b82bea2f-5ee3-48a4-9774-4143176a6900\r\nCorrelation ID: b57403ef-e775-49f6-b40f-009ba759c301\r\nTimestamp: 2021-06-30 21:12:34Z
Header Parameters
- AuthorizationstringRequiredJWT Bearer Token. Token URL: https://login.microsoftonline.com/xxxxxxxxxx/oauth2/v2.0/token See example below. curl --location --request POST 'https://login.microsoftonline.com/xxxxxxxxxx/oauth2/v2.0/token' --header 'Content-Type: application/x-www-form-urlencoded' --header 'Cookie: fpc=xxxxxxxxxx; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd' --data-urlencode 'scope=api://testHarnessCustomersStage1/.default' --data-urlencode 'grant_type=client_credentials' --data-urlencode 'client_id=xxxxxxxxxx' --data-urlencode 'client_secret=xxxxxxxxxx' Note: client id/secret are not the right ones - contact API provider, via 'Request Access' button to get the correct on
- Content-LengthintMatches the count of bytes in the request body so the server can know whether it has read the correct number of bytes.
- AcceptstringRequiredSpecifies the media type as "application/json".
- X-ATT-ConversationIdstringRequired32 hexadecimal characters grouped as 8-4-4-4-12 and separated by four hyphens (XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX) for a total length of 36 characters.
- X-ATT-CorrelationIdstring32 hexadecimal characters grouped as 8-4-4-4-12 and separated by four hyphens (XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX) for a total length of 36 characters.
- X-ATT-ClientIdstringID derived from the JSON Web Token which represents the ClientId of the API Consumer who initiated the call flow at the Mule Gateway. This is used by downstream APIs to log data about the entity which initiated the call flow.
Body Parameters
- Required
Responses
Success
Body
application/json
- Required