Skip to content
Orillion logo
Soramitsu logo

Requesting a contribution by ID

Protocol: HTTP

EncodingJSON

Endpoint/data/api/v1/contribution-management/contribution/{contributionID}

MethodGET

Parameters:

FieldValue TypeDescription
contributionIDstring(path)Range of id values (Fraud Identifiers), or a single one.

Input/request structure:

A GET request to the endpoint, where {contributionID} is a required parameter.

Output/response structure:

Show
json5
{
  status: {
    code: 0, //integer($int32)
    name: 'string',
    message: 'string'
  },
  data: [
    {
      assetIds: [
        {
          definitionId: 'Id_range#domain', //IP/telephone number/IMEI
          accountId: 'user@peerId'
        }
      ]
    }
  ]
}
{
  status: {
    code: 0, //integer($int32)
    name: 'string',
    message: 'string'
  },
  data: [
    {
      assetIds: [
        {
          definitionId: 'Id_range#domain', //IP/telephone number/IMEI
          accountId: 'user@peerId'
        }
      ]
    }
  ]
}

Responses

Response CodeDescription
200Contribution has been successfully retrieved by its ID.
400Contribution ID is incorrect or the fraud type could not be resolved by code.
500Internal server error.