Organization profiles REST API
Use this REST API to manage organization profiles.
Available HTTP Methods
GET REST APIs for organization profiles
| HTTP Method | URI Pattern | Data Format | Success Codes | Error Codes |
|---|---|---|---|---|
| GET | /resources/chargebackProfiles |
application/json |
|
|
| GET | /resources/chargebackProfiles/{id} |
application/json |
|
|
Example:
{
"id" : "133b61dc-7ad0-4c6e-b7c8-5d2bd181060d",
"updated" : 1452706044569,
"created" : 1452706044569,
"description" : "",
"name" : "OP1",
"uuid" : "133b61dc-7ad0-4c6e-b7c8-5d2bd181060d"
}where:- id
- A unique identifier for the organization.
- updated
- The last time the organization was updated, represented as the number of milliseconds since midnight January 1, 1970 Coordinated Universal Time (UTC).
- created
- The creation time of the organization, represented as the number of milliseconds since midnight January 1, 1970 UTC.
- description
- An optional description of the organization.
- name
- The name of the organization.
- uuid
- A unique identifier for the organization.
POST REST APIs for organization profiles
| HTTP Method | URI Pattern | Data Format | Success Codes | Error Codes |
|---|---|---|---|---|
| POST | /resources/chargebackProfiles |
application/json |
|
|
Example:
{
"description" : "description of OP1",
"name" : "OP1",
}where:- description
- An optional description of the organization.
- name
- The name of the organization. The name of the organization must be unique within the system.
PUT REST APIs for organization profiles
| HTTP Method | URI Pattern | Data Format | Success Codes | Error Codes |
|---|---|---|---|---|
| PUT | /resources/chargebackProfiles/{id} |
application/json |
|
|
Example:
{
"description" : "description of OP1",
"name" : "OP1",
}where:- description
- An optional description of the organization.
- name
- The name of the organization. The name of the organization must be unique within the system.
DELETE REST APIs for organization profiles
| HTTP Method | URI Pattern | Data Format | Success Codes | Error Codes |
|---|---|---|---|---|
| DELETE | /resources/chargebackProfiles/{id} |
N/A |
|
|