This API call allows clients to get a list of allocations and deallocations for any connected network account. or "deallocation" to view deallocations.
Error scenarios:
-
400: Invalid Request Error
-
Occurs when the request parameters are invalid or malformed.
-
Examples: Empty string provided for enterpriseId, invalid UUID format for allocationId. invalid date format for createdOnOrAfter/createdBefore, invalid pagination parameters.
-
401: Authentication Error
-
Occurs when the request is not authorized.
-
Examples: Caller is not a member of the enterprise..
-
403: Permission Denied Error
-
Occurs when the authenticated partner doesn't have access to the requested allocation.
-
Examples: Enterprise does not have OES license.
-
404: Not Found Error
-
Occurs when the specified enterprise cannot be found.
-
Examples: Enterprise ID doesn't exist or doesn't belong to the client.
-
500: Internal Server Error
-
Occurs when there's an unexpected server error processing the request.
-
Examples: Database connection issues, error retrieving allocations data, error transforming allocation data for response.