/api/network/v1/enterprises/{enterpriseId}/clients/allocationsThis 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.
enterpriseIdstringRequired>= 1 charactersallocationIdsarray[string]typesarray[string]allocation deallocation statusesarray[string]cleared released reserved currenciesarray[string]connectionIdsarray[string]partnerIdsarray[string]createdOnOrAfterstring<date-time>createdBeforestring<date-time>pageNumberstring<integer>pageSizestringsortFieldstringid updatedAt quantity currency sortDirectionstringASC DESC allocations array[object] required id string required amountOne ofrequired connectionId string required clientExternalId string required >= 1 characterspartnerExternalId string >= 1 charactersinitiatedBy string required >= 1 charactersnotes string >= 1 characterscreatedAt string <date-time>required updatedAt string <date-time>required retriable boolean required evaluationId string >= 1 characterspendingApprovalId string >= 1 characterspolicyResult string approved rejectedreason >= 1 charactersstatus string required cleared released reservedtype string required allocation deallocationerror string required error string required error string required error string required