getOrganizationRequests

get

/ccagent/v1/organizationRequests/{id}

Get Organization Request. This operation is used to get the Organization request information of a customer from Oracle Commerce Cloud.

Request

Supported Media Types
Path Parameters
Query Parameters
  • Expand query param : currently used to expand profile, organization and orgAddress Info.(Allowed Values: profile - profile static data, profileAll - profile static & dynamic data, organization - organization static data, organizationAll - organization static & dynamic data, requestAll - organizationRequest static & dynamic data, organizationAddresses).
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getOrganizationRequests_response
Type: object
Show Source
Nested Schema : organization
Type: object
Organization
Show Source
Nested Schema : profile
Type: object
Profile
Show Source
Nested Schema : secondaryAddresses
Type: array
List of all the addresses associated with an Organization.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : address
Type: object
Address created for the Organization.
Show Source
Nested Schema : types
Type: array
The types tagged to the address
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "approverComments":"Request is approved",
    "requesterOrganization":null,
    "profile":{
        "id":"100001"
    },
    "organization":{
        "id":"150002"
    },
    "name":"My account",
    "siteId":"siteUS",
    "id":100001,
    "requesterComments":"None",
    "parentOrgName":"Oracle Global",
    "status":"approved"
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |100000|If input passed is invalid| |101001|If there was no organization request found with the given id.
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top