Use Cases for Organization

I want to
Request TypeExample URL
Retrieve and display details of a particular organization.GET by ID{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization/{ID}

NOTE:
For an invalid ID, you receive HTTP 404 error.
Based on the provided field values, retrieve and display details of organizations.GET with Fields{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization?fields=name,organizationType

NOTE:
The requested fields are part of the output if they have a value.
List all the organizations present in the system.GET List{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization
List organizations present in the system based on the filter applied.GET List with Filtering{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization?name=Acme

NOTE:
The requested fields are part of the output if they have a value.
List organizations, limit the number of records to a specified limit, and start the results from the page specified by offset.GET List by limit and offset{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization?offset=4&pageLimit=1&pageinfo=true
Create a new organization by providing the required details.POST{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization

NOTE:
A new organization is created based on the values mentioned for the mandatory fields.
Update details of a particular organization.PATCH{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization/{ID}
Delete an organization.DELETE{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization/{ID}

NOTE:
DELETE requires an Apex extensibility implementation. Without it, the API returns HTTP 400.

Consider you want to retrieve details of a particular organization.

{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization/{ID}

Consider you want to retrieve organizations and return only these fields in the output.

  • name
  • organizationType

{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization?fields=name,organizationType

Consider there are multiple organizations in the system and you want to list all of them.

{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization

Consider you want to retrieve organizations with applied filter values.

{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization?name=Acme

Consider you want to retrieve a list of organizations, limit the number of records, and start the results from the specified offset.

{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization?offset=4&pageLimit=1&pageinfo=true

Consider you want to create a new organization. name is mandatory.

{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization

Consider you want to update details of a particular organization.

{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization/{ID}

Account does not include a status field that supports soft delete out of the box. The DELETE endpoint is provided as an extensibility hook. Without a custom Apex implementation, the API returns HTTP 400.

{{orgendpoint}}/services/data/{{version}}/connect/comms/partymanagement/v5/organization/{ID}

No request body.

With an Apex extensibility implementation: HTTP 204 with no response body.

Without extensibility: