En línea ahora  

/v1/infractions/

Private user-infraction reporting, staff adjudication and bounty administration.
GET

/v1/infractions/get_bounty_estimate

#
Estimate the maximum USD bounty for a signed-in reporter using the current type, reported user's penalty permission and reporter's bounty rate. Assumes a full contribution share; staff decides the actual outcome and may award no bounty. Does not create a report or financial entry.

Parámetros

NombreTipoObligatorioPredeterminadoDescripción
typeID int si — Active infraction type.
userAlias string si — Reported user's alias. Self-reporting is not allowed.
incidentDate string No "" Incident date in YYYY-MM-DD format; empty uses today for the estimate until a date is selected.
subjectTransactionSource string No "" Required for transaction-based types: transaction or custom_article.
subjectTransactionID int No 0 Required canonical transaction ID for transaction-based types.
Ejemplo de solicitud (cURL)
curl --get \
  'https://es.appointmenttrader.com/v1/infractions/get_bounty_estimate' \
  --data-urlencode 'key={{API_KEY}}' \
  --data-urlencode 'typeID={{typeID}}' \
  --data-urlencode 'userAlias={{userAlias}}' \
  --data-urlencode 'incidentDate={{incidentDate}}' \
  --data-urlencode 'subjectTransactionSource={{subjectTransactionSource}}' \
  --data-urlencode 'subjectTransactionID={{subjectTransactionID}}'

Respuesta

JSON
See the shared response schema and synthetic example.
Campos de respuesta
CampoTipoObligatorioDescripción
$infractions_get_bounty_estimate_Response si
$.oneOf[0] si
$.oneOf[0].allOf[0]object si
$.oneOf[0].allOf[0].RequestUserAliasstring si
$.oneOf[0].allOf[0].RequestPathstring | null si
$.oneOf[0].allOf[0].RequestStatus = "Succeeded" si
$.oneOf[0].allOf[0].ResponseCodeinteger si
$.oneOf[0].allOf[0].ResponseMessageAPIResponseMessage si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[0]string | number | boolean | null si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1]array si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1][]APIResponseMessage No
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2]object si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2].*APIResponseMessage No
$.oneOf[0].allOf[0].RequestImpersonatedByUserAliasstring No
$.oneOf[0].allOf[1]object si
$.oneOf[0].allOf[1].Payloadobject si
$.oneOf[0].allOf[1].Payload.amountCentsinteger si
$.oneOf[0].allOf[1].Payload.currency = "USD" si
$.oneOf[0].allOf[1].Payload.formattedAmountstring si
$.oneOf[1]object si
$.oneOf[1].RequestUserAliasstring si
$.oneOf[1].RequestPathstring | null si
$.oneOf[1].RequestStatus = "Failed" si
$.oneOf[1].ResponseCodeinteger si
$.oneOf[1].ResponseMessageAPIResponseMessage si
$.oneOf[1].ResponseMessage.oneOf[0]string | number | boolean | null si
$.oneOf[1].ResponseMessage.oneOf[1]array si
$.oneOf[1].ResponseMessage.oneOf[1][]APIResponseMessage No
$.oneOf[1].ResponseMessage.oneOf[2]object si
$.oneOf[1].ResponseMessage.oneOf[2].*APIResponseMessage No
$.oneOf[1].RequestImpersonatedByUserAliasstring No
Ejemplo de respuesta
{
    "RequestStatus": "Succeeded",
    "ResponseCode": 100,
    "ResponseMessage": "Synthetic success example.",
    "RequestPath": "/v1/infractions/get_bounty_estimate",
    "RequestUserAlias": "example-user",
    "Payload": {
        "amountCents": 0,
        "currency": "USD",
        "formattedAmount": "synthetic-example"
    }
}
Documentación del endpoint legible por máquinas
GET

/v1/infractions/get_my_reports

#
Get only reports submitted by the acting user, including when the caller is staff. Reports against the caller are excluded. Merged reports retain their private chat and use the current case status and classification.

Parámetros

NombreTipoObligatorioPredeterminadoDescripción
start int No 0 Non-negative offset; negative values use zero.
Ejemplo de solicitud (cURL)
curl --get \
  'https://es.appointmenttrader.com/v1/infractions/get_my_reports' \
  --data-urlencode 'key={{API_KEY}}' \
  --data-urlencode 'start={{start}}'

Respuesta

JSON
See the shared response schema and synthetic example.
Campos de respuesta
CampoTipoObligatorioDescripción
$infractions_get_my_reports_Response si
$.oneOf[0] si
$.oneOf[0].allOf[0]object si
$.oneOf[0].allOf[0].RequestUserAliasstring si
$.oneOf[0].allOf[0].RequestPathstring | null si
$.oneOf[0].allOf[0].RequestStatus = "Succeeded" si
$.oneOf[0].allOf[0].ResponseCodeinteger si
$.oneOf[0].allOf[0].ResponseMessageAPIResponseMessage si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[0]string | number | boolean | null si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1]array si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1][]APIResponseMessage No
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2]object si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2].*APIResponseMessage No
$.oneOf[0].allOf[0].RequestImpersonatedByUserAliasstring No
$.oneOf[0].allOf[1]object si
$.oneOf[0].allOf[1].Payloadobject si
$.oneOf[0].allOf[1].Payload.reportsarray si
$.oneOf[0].allOf[1].Payload.reports[]object No
$.oneOf[0].allOf[1].Payload.reports[].reportIDinteger si
$.oneOf[0].allOf[1].Payload.reports[].caseIDinteger si
$.oneOf[0].allOf[1].Payload.reports[].reportedUserIDinteger si
$.oneOf[0].allOf[1].Payload.reports[].typeNamestring si
$.oneOf[0].allOf[1].Payload.reports[].createdDatestring si
$.oneOf[0].allOf[1].Payload.reports[].statusstring ["Open","Confirmed","Warning","Rejected","Merged"] si
$.oneOf[0].allOf[1].Payload.reports[].chatIDinteger si
$.oneOf[0].allOf[1].Payload.startinteger si
$.oneOf[0].allOf[1].Payload.hasMoreboolean si
$.oneOf[0].allOf[1].Payload.nextStart si
$.oneOf[0].allOf[1].Payload.nextStart.anyOf[0]integer si
$.oneOf[0].allOf[1].Payload.nextStart.anyOf[1]null si
$.oneOf[1]object si
$.oneOf[1].RequestUserAliasstring si
$.oneOf[1].RequestPathstring | null si
$.oneOf[1].RequestStatus = "Failed" si
$.oneOf[1].ResponseCodeinteger si
$.oneOf[1].ResponseMessageAPIResponseMessage si
$.oneOf[1].ResponseMessage.oneOf[0]string | number | boolean | null si
$.oneOf[1].ResponseMessage.oneOf[1]array si
$.oneOf[1].ResponseMessage.oneOf[1][]APIResponseMessage No
$.oneOf[1].ResponseMessage.oneOf[2]object si
$.oneOf[1].ResponseMessage.oneOf[2].*APIResponseMessage No
$.oneOf[1].RequestImpersonatedByUserAliasstring No
Ejemplo de respuesta
{
    "RequestStatus": "Succeeded",
    "ResponseCode": 100,
    "ResponseMessage": "Synthetic success example.",
    "RequestPath": "/v1/infractions/get_my_reports",
    "RequestUserAlias": "example-user",
    "Payload": {
        "reports": [],
        "start": 0,
        "hasMore": false,
        "nextStart": 0
    }
}
Documentación del endpoint legible por máquinas
GET

/v1/infractions/get_options

#
Get reportable types or staff configuration, numeric permissions and audit history.

Parámetros

NombreTipoObligatorioPredeterminadoDescripción
admin bool No false Include inactive types and administration data; requires RefundAppointments.
Ejemplo de solicitud (cURL)
curl --get \
  'https://es.appointmenttrader.com/v1/infractions/get_options' \
  --data-urlencode 'key={{API_KEY}}' \
  --data-urlencode 'admin={{admin}}'

Respuesta

JSON
See the shared response schema and synthetic example.
Campos de respuesta
CampoTipoObligatorioDescripción
$infractions_get_options_Response si
$.oneOf[0] si
$.oneOf[0].allOf[0]object si
$.oneOf[0].allOf[0].RequestUserAliasstring si
$.oneOf[0].allOf[0].RequestPathstring | null si
$.oneOf[0].allOf[0].RequestStatus = "Succeeded" si
$.oneOf[0].allOf[0].ResponseCodeinteger si
$.oneOf[0].allOf[0].ResponseMessageAPIResponseMessage si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[0]string | number | boolean | null si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1]array si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1][]APIResponseMessage No
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2]object si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2].*APIResponseMessage No
$.oneOf[0].allOf[0].RequestImpersonatedByUserAliasstring No
$.oneOf[0].allOf[1]object si
$.oneOf[0].allOf[1].Payloadobject si
$.oneOf[0].allOf[1].Payload.typesarray si
$.oneOf[0].allOf[1].Payload.types[]object No
$.oneOf[0].allOf[1].Payload.types[].IDDatabaseInteger siInteger value; legacy MySQL reads may serialize it as a numeric string.
$.oneOf[0].allOf[1].Payload.types[].ID.oneOf[0]integer si
$.oneOf[0].allOf[1].Payload.types[].ID.oneOf[1]string si
$.oneOf[0].allOf[1].Payload.types[].Slugstring si
$.oneOf[0].allOf[1].Payload.types[].Statusstring ["Draft","Active","Retired"] si
$.oneOf[0].allOf[1].Payload.types[].SortOrderDatabaseInteger siInteger value; legacy MySQL reads may serialize it as a numeric string.
$.oneOf[0].allOf[1].Payload.types[].SortOrder.oneOf[0]integer si
$.oneOf[0].allOf[1].Payload.types[].SortOrder.oneOf[1]string si
$.oneOf[0].allOf[1].Payload.types[].CurrentVersionID si
$.oneOf[0].allOf[1].Payload.types[].CurrentVersionID.anyOf[0]DatabaseInteger siInteger value; legacy MySQL reads may serialize it as a numeric string.
$.oneOf[0].allOf[1].Payload.types[].CurrentVersionID.anyOf[0].oneOf[0]integer si
$.oneOf[0].allOf[1].Payload.types[].CurrentVersionID.anyOf[0].oneOf[1]string si
$.oneOf[0].allOf[1].Payload.types[].CurrentVersionID.anyOf[1]null si
$.oneOf[0].allOf[1].Payload.types[].CreatedDatestring si
$.oneOf[0].allOf[1].Payload.types[].VersionNumberDatabaseInteger siInteger value; legacy MySQL reads may serialize it as a numeric string.
$.oneOf[0].allOf[1].Payload.types[].VersionNumber.oneOf[0]integer si
$.oneOf[0].allOf[1].Payload.types[].VersionNumber.oneOf[1]string si
$.oneOf[0].allOf[1].Payload.types[].configobject si
$.oneOf[0].allOf[1].Payload.types[].config.namestring si
$.oneOf[0].allOf[1].Payload.types[].config.descriptionstring si
$.oneOf[0].allOf[1].Payload.types[].config.evidenceGuidancestring si
$.oneOf[0].allOf[1].Payload.types[].config.subjectstring ["seller","transaction","listing"] si
$.oneOf[0].allOf[1].Payload.types[].config.referenceRequired si
$.oneOf[0].allOf[1].Payload.types[].config.referenceRequired.oneOf[0]boolean si
$.oneOf[0].allOf[1].Payload.types[].config.referenceRequired.oneOf[1]integer [0,1] si
$.oneOf[0].allOf[1].Payload.types[].config.penaltyModestring ["warning","fixed","annual_sales","transaction_amount"] si
$.oneOf[0].allOf[1].Payload.types[].config.penaltyPermissionstring si
$.oneOf[0].allOf[1].Payload.types[].config.bountyEnabled si
$.oneOf[0].allOf[1].Payload.types[].config.bountyEnabled.oneOf[0]boolean si
$.oneOf[0].allOf[1].Payload.types[].config.bountyEnabled.oneOf[1]integer [0,1] si
$.oneOf[0].allOf[1].Payload.types[].config.bountyBasisPointsinteger si
$.oneOf[0].allOf[1].Payload.types[].config.buyerPosingAllowed si
$.oneOf[0].allOf[1].Payload.types[].config.buyerPosingAllowed.oneOf[0]boolean si
$.oneOf[0].allOf[1].Payload.types[].config.buyerPosingAllowed.oneOf[1]integer [0,1] si
$.oneOf[0].allOf[1].Payload.types[].config.translations si
$.oneOf[0].allOf[1].Payload.types[].config.translations.anyOf[0]object si
$.oneOf[0].allOf[1].Payload.types[].config.translations.anyOf[0].*object No
$.oneOf[0].allOf[1].Payload.types[].config.translations.anyOf[0].*.namestring si
$.oneOf[0].allOf[1].Payload.types[].config.translations.anyOf[0].*.descriptionstring si
$.oneOf[0].allOf[1].Payload.types[].config.translations.anyOf[0].*.evidenceGuidancestring si
$.oneOf[0].allOf[1].Payload.types[].config.translations.anyOf[1] = [] si
$.oneOf[0].allOf[1].Payload.types[].config.seedKeystring No
$.oneOf[0].allOf[1].Payload.types[].config.penaltyMultiplier = 3 No
$.oneOf[0].allOf[1].Payload.types[].defaultPenaltyValue si
$.oneOf[0].allOf[1].Payload.types[].defaultPenaltyValue.anyOf[0]DatabaseNumber siNumeric value; MySQL reads can serialize numbers as numeric strings.
$.oneOf[0].allOf[1].Payload.types[].defaultPenaltyValue.anyOf[0].oneOf[0]number si
$.oneOf[0].allOf[1].Payload.types[].defaultPenaltyValue.anyOf[0].oneOf[1]string si
$.oneOf[0].allOf[1].Payload.types[].defaultPenaltyValue.anyOf[1]null si
$.oneOf[0].allOf[1].Payload.types[].reporterBountyBasisPointsinteger si
$.oneOf[0].allOf[1].Payload.types[].rawConfigobject No
$.oneOf[0].allOf[1].Payload.types[].rawConfig.namestring si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.descriptionstring si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.evidenceGuidancestring si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.subjectstring ["seller","transaction","listing"] si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.referenceRequired si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.referenceRequired.oneOf[0]boolean si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.referenceRequired.oneOf[1]integer [0,1] si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.penaltyModestring ["warning","fixed","annual_sales","transaction_amount"] si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.penaltyPermissionstring si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.bountyEnabled si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.bountyEnabled.oneOf[0]boolean si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.bountyEnabled.oneOf[1]integer [0,1] si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.bountyBasisPointsinteger si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.buyerPosingAllowed si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.buyerPosingAllowed.oneOf[0]boolean si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.buyerPosingAllowed.oneOf[1]integer [0,1] si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.translations si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.translations.anyOf[0]object si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.translations.anyOf[0].*object No
$.oneOf[0].allOf[1].Payload.types[].rawConfig.translations.anyOf[0].*.namestring si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.translations.anyOf[0].*.descriptionstring si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.translations.anyOf[0].*.evidenceGuidancestring si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.translations.anyOf[1] = [] si
$.oneOf[0].allOf[1].Payload.types[].rawConfig.seedKeystring No
$.oneOf[0].allOf[1].Payload.types[].rawConfig.penaltyMultiplier = 3 No
$.oneOf[0].allOf[1].Payload.permissionsarray si
$.oneOf[0].allOf[1].Payload.permissions[]object No
$.oneOf[0].allOf[1].Payload.permissions[].Namestring si
$.oneOf[0].allOf[1].Payload.permissions[].Descriptionstring si
$.oneOf[0].allOf[1].Payload.permissions[].DefaultSettingPayloadstring si
$.oneOf[0].allOf[1].Payload.overridesarray si
$.oneOf[0].allOf[1].Payload.overrides[]object No
$.oneOf[0].allOf[1].Payload.overrides[].IDDatabaseInteger siInteger value; legacy MySQL reads may serialize it as a numeric string.
$.oneOf[0].allOf[1].Payload.overrides[].ID.oneOf[0]integer si
$.oneOf[0].allOf[1].Payload.overrides[].ID.oneOf[1]string si
$.oneOf[0].allOf[1].Payload.overrides[].UserIDDatabaseInteger siInteger value; legacy MySQL reads may serialize it as a numeric string.
$.oneOf[0].allOf[1].Payload.overrides[].UserID.oneOf[0]integer si
$.oneOf[0].allOf[1].Payload.overrides[].UserID.oneOf[1]string si
$.oneOf[0].allOf[1].Payload.overrides[].TypeIDDatabaseInteger siInteger value; legacy MySQL reads may serialize it as a numeric string.
$.oneOf[0].allOf[1].Payload.overrides[].TypeID.oneOf[0]integer si
$.oneOf[0].allOf[1].Payload.overrides[].TypeID.oneOf[1]string si
$.oneOf[0].allOf[1].Payload.overrides[].BountyBasisPointsDatabaseInteger siInteger value; legacy MySQL reads may serialize it as a numeric string.
$.oneOf[0].allOf[1].Payload.overrides[].BountyBasisPoints.oneOf[0]integer si
$.oneOf[0].allOf[1].Payload.overrides[].BountyBasisPoints.oneOf[1]string si
$.oneOf[0].allOf[1].Payload.overrides[].UpdatedByUserIDDatabaseInteger siInteger value; legacy MySQL reads may serialize it as a numeric string.
$.oneOf[0].allOf[1].Payload.overrides[].UpdatedByUserID.oneOf[0]integer si
$.oneOf[0].allOf[1].Payload.overrides[].UpdatedByUserID.oneOf[1]string si
$.oneOf[0].allOf[1].Payload.overrides[].LastUpdateDatestring si
$.oneOf[0].allOf[1].Payload.auditarray si
$.oneOf[0].allOf[1].Payload.audit[]object No
$.oneOf[0].allOf[1].Payload.audit[].IDDatabaseInteger siInteger value; legacy MySQL reads may serialize it as a numeric string.
$.oneOf[0].allOf[1].Payload.audit[].ID.oneOf[0]integer si
$.oneOf[0].allOf[1].Payload.audit[].ID.oneOf[1]string si
$.oneOf[0].allOf[1].Payload.audit[].CaseID = null si
$.oneOf[0].allOf[1].Payload.audit[].TypeID si
$.oneOf[0].allOf[1].Payload.audit[].TypeID.anyOf[0]DatabaseInteger siInteger value; legacy MySQL reads may serialize it as a numeric string.
$.oneOf[0].allOf[1].Payload.audit[].TypeID.anyOf[0].oneOf[0]integer si
$.oneOf[0].allOf[1].Payload.audit[].TypeID.anyOf[0].oneOf[1]string si
$.oneOf[0].allOf[1].Payload.audit[].TypeID.anyOf[1]null si
$.oneOf[0].allOf[1].Payload.audit[].ActorUserIDDatabaseInteger siInteger value; legacy MySQL reads may serialize it as a numeric string.
$.oneOf[0].allOf[1].Payload.audit[].ActorUserID.oneOf[0]integer si
$.oneOf[0].allOf[1].Payload.audit[].ActorUserID.oneOf[1]string si
$.oneOf[0].allOf[1].Payload.audit[].EventNamestring si
$.oneOf[0].allOf[1].Payload.audit[].Payloadstring (application/json) si
$.oneOf[0].allOf[1].Payload.audit[].Payload (JSON decodificado) si
$.oneOf[0].allOf[1].Payload.audit[].Payload.oneOf[0]object si
$.oneOf[0].allOf[1].Payload.audit[].Payload.oneOf[0].versionIDinteger si
$.oneOf[0].allOf[1].Payload.audit[].Payload.oneOf[0].statusstring ["Draft","Active","Retired"] si
$.oneOf[0].allOf[1].Payload.audit[].Payload.oneOf[0].sortOrderinteger si
$.oneOf[0].allOf[1].Payload.audit[].Payload.oneOf[1]object si
$.oneOf[0].allOf[1].Payload.audit[].Payload.oneOf[1].hunterIDinteger si
$.oneOf[0].allOf[1].Payload.audit[].Payload.oneOf[1].basisPoints si
$.oneOf[0].allOf[1].Payload.audit[].Payload.oneOf[1].basisPoints.anyOf[0]integer si
$.oneOf[0].allOf[1].Payload.audit[].Payload.oneOf[1].basisPoints.anyOf[1]null si
$.oneOf[0].allOf[1].Payload.audit[].CreatedDatestring si
$.oneOf[1]object si
$.oneOf[1].RequestUserAliasstring si
$.oneOf[1].RequestPathstring | null si
$.oneOf[1].RequestStatus = "Failed" si
$.oneOf[1].ResponseCodeinteger si
$.oneOf[1].ResponseMessageAPIResponseMessage si
$.oneOf[1].ResponseMessage.oneOf[0]string | number | boolean | null si
$.oneOf[1].ResponseMessage.oneOf[1]array si
$.oneOf[1].ResponseMessage.oneOf[1][]APIResponseMessage No
$.oneOf[1].ResponseMessage.oneOf[2]object si
$.oneOf[1].ResponseMessage.oneOf[2].*APIResponseMessage No
$.oneOf[1].RequestImpersonatedByUserAliasstring No
Ejemplo de respuesta
{
    "RequestStatus": "Succeeded",
    "ResponseCode": 100,
    "ResponseMessage": "Synthetic success example.",
    "RequestPath": "/v1/infractions/get_options",
    "RequestUserAlias": "example-user",
    "Payload": {
        "types": [],
        "permissions": [],
        "overrides": [],
        "audit": []
    }
}
Documentación del endpoint legible por máquinas
GET

/v1/infractions/get_report_context

#
Resolve report context from a listing, participant-owned transaction, accessible chat or reported user. Chat targets use structured context or the sole other participant; ambiguous groups leave the user unselected.

Parámetros

NombreTipoObligatorioPredeterminadoDescripción
listingID int No 0 Listing identifier, or zero.
transactionID int No 0 Transaction identifier, or zero.
chatID int No 0 Source chat accessible to the reporter, or zero.
userID int No 0 Reported user to preselect, or zero.
subjectTransactionSource string No "" Optional exact transaction source, transaction or custom_article; does not alter the reported user.
subjectTransactionID int No 0 Canonical transaction ID paired with its source.
Ejemplo de solicitud (cURL)
curl --get \
  'https://es.appointmenttrader.com/v1/infractions/get_report_context' \
  --data-urlencode 'key={{API_KEY}}' \
  --data-urlencode 'listingID={{listingID}}' \
  --data-urlencode 'transactionID={{transactionID}}' \
  --data-urlencode 'chatID={{chatID}}' \
  --data-urlencode 'userID={{userID}}' \
  --data-urlencode 'subjectTransactionSource={{subjectTransactionSource}}' \
  --data-urlencode 'subjectTransactionID={{subjectTransactionID}}'

Respuesta

JSON
See the shared response schema and synthetic example.
Campos de respuesta
CampoTipoObligatorioDescripción
$infractions_get_report_context_Response si
$.oneOf[0] si
$.oneOf[0].allOf[0]object si
$.oneOf[0].allOf[0].RequestUserAliasstring si
$.oneOf[0].allOf[0].RequestPathstring | null si
$.oneOf[0].allOf[0].RequestStatus = "Succeeded" si
$.oneOf[0].allOf[0].ResponseCodeinteger si
$.oneOf[0].allOf[0].ResponseMessageAPIResponseMessage si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[0]string | number | boolean | null si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1]array si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1][]APIResponseMessage No
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2]object si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2].*APIResponseMessage No
$.oneOf[0].allOf[0].RequestImpersonatedByUserAliasstring No
$.oneOf[0].allOf[1]object si
$.oneOf[0].allOf[1].PayloadInfractionReportContext si
$.oneOf[0].allOf[1].Payload.oneOf[0]object si
$.oneOf[0].allOf[1].Payload.oneOf[0].chatIDinteger No
$.oneOf[0].allOf[1].Payload.oneOf[0].chatNamestring No
$.oneOf[0].allOf[1].Payload.oneOf[0].listingID No
$.oneOf[0].allOf[1].Payload.oneOf[0].listingID.anyOf[0]DatabaseInteger NoInteger value; legacy MySQL reads may serialize it as a numeric string.
$.oneOf[0].allOf[1].Payload.oneOf[0].listingID.anyOf[0].oneOf[0]integer No
$.oneOf[0].allOf[1].Payload.oneOf[0].listingID.anyOf[0].oneOf[1]string No
$.oneOf[0].allOf[1].Payload.oneOf[0].listingID.anyOf[1]null No
$.oneOf[0].allOf[1].Payload.oneOf[0].transactionIDDatabaseInteger NoInteger value; legacy MySQL reads may serialize it as a numeric string.
$.oneOf[0].allOf[1].Payload.oneOf[0].transactionID.oneOf[0]integer No
$.oneOf[0].allOf[1].Payload.oneOf[0].transactionID.oneOf[1]string No
$.oneOf[0].allOf[1].Payload.oneOf[0].sellerIDDatabaseInteger NoInteger value; legacy MySQL reads may serialize it as a numeric string.
$.oneOf[0].allOf[1].Payload.oneOf[0].sellerID.oneOf[0]integer No
$.oneOf[0].allOf[1].Payload.oneOf[0].sellerID.oneOf[1]string No
$.oneOf[0].allOf[1].Payload.oneOf[0].sellerAliasstring No
$.oneOf[0].allOf[1].Payload.oneOf[0].subjectTransaction No
$.oneOf[0].allOf[1].Payload.oneOf[0].subjectTransaction.anyOf[0]object No
$.oneOf[0].allOf[1].Payload.oneOf[0].subjectTransaction.anyOf[0].sourcestring ["transaction","custom_article"] si
$.oneOf[0].allOf[1].Payload.oneOf[0].subjectTransaction.anyOf[0].idinteger si
$.oneOf[0].allOf[1].Payload.oneOf[0].subjectTransaction.anyOf[0].amountCentsinteger si
$.oneOf[0].allOf[1].Payload.oneOf[0].subjectTransaction.anyOf[0].datestring si
$.oneOf[0].allOf[1].Payload.oneOf[0].subjectTransaction.anyOf[0].labelstring si
$.oneOf[0].allOf[1].Payload.oneOf[0].subjectTransaction.anyOf[0].statusstring ["PENDING","COMPLETED","RECORDED"] si
$.oneOf[0].allOf[1].Payload.oneOf[0].subjectTransaction.anyOf[0].formattedAmountstring si
$.oneOf[0].allOf[1].Payload.oneOf[0].subjectTransaction.anyOf[1]null No
$.oneOf[0].allOf[1].Payload.oneOf[1] = [] si
$.oneOf[1]object si
$.oneOf[1].RequestUserAliasstring si
$.oneOf[1].RequestPathstring | null si
$.oneOf[1].RequestStatus = "Failed" si
$.oneOf[1].ResponseCodeinteger si
$.oneOf[1].ResponseMessageAPIResponseMessage si
$.oneOf[1].ResponseMessage.oneOf[0]string | number | boolean | null si
$.oneOf[1].ResponseMessage.oneOf[1]array si
$.oneOf[1].ResponseMessage.oneOf[1][]APIResponseMessage No
$.oneOf[1].ResponseMessage.oneOf[2]object si
$.oneOf[1].ResponseMessage.oneOf[2].*APIResponseMessage No
$.oneOf[1].RequestImpersonatedByUserAliasstring No
Ejemplo de respuesta
{
    "RequestStatus": "Succeeded",
    "ResponseCode": 100,
    "ResponseMessage": "Synthetic success example.",
    "RequestPath": "/v1/infractions/get_report_context",
    "RequestUserAlias": "example-user",
    "Payload": []
}
Documentación del endpoint legible por máquinas
GET

/v1/infractions/get_report_transactions

#
Resolve an exact transaction reference for a signed-in reporter, regardless of ownership. Staff verifies the connection to the reported user. Only pending/completed marketplace transactions and non-deleted recorded custom articles with valid amounts are returned.

Parámetros

NombreTipoObligatorioPredeterminadoDescripción
referenceType string si — post_link, bid, appointment, transaction, or custom_article.
referenceID int No 0 Exact identifier in the selected namespace; positive except for post_link, which uses postLink.
postLink string No "" AppointmentTrader post URL or root-relative post path, required for post_link. Resolves the viewable post's stored bid association without fetching the URL. Supports /posts/{id} and the v2 newsfeed postId route.
Ejemplo de solicitud (cURL)
curl --get \
  'https://es.appointmenttrader.com/v1/infractions/get_report_transactions' \
  --data-urlencode 'key={{API_KEY}}' \
  --data-urlencode 'referenceType={{referenceType}}' \
  --data-urlencode 'referenceID={{referenceID}}' \
  --data-urlencode 'postLink={{postLink}}'

Respuesta

JSON
See the shared response schema and synthetic example.
Campos de respuesta
CampoTipoObligatorioDescripción
$infractions_get_report_transactions_Response si
$.oneOf[0] si
$.oneOf[0].allOf[0]object si
$.oneOf[0].allOf[0].RequestUserAliasstring si
$.oneOf[0].allOf[0].RequestPathstring | null si
$.oneOf[0].allOf[0].RequestStatus = "Succeeded" si
$.oneOf[0].allOf[0].ResponseCodeinteger si
$.oneOf[0].allOf[0].ResponseMessageAPIResponseMessage si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[0]string | number | boolean | null si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1]array si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1][]APIResponseMessage No
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2]object si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2].*APIResponseMessage No
$.oneOf[0].allOf[0].RequestImpersonatedByUserAliasstring No
$.oneOf[0].allOf[1]object si
$.oneOf[0].allOf[1].Payloadobject si
$.oneOf[0].allOf[1].Payload.transactionsarray si
$.oneOf[0].allOf[1].Payload.transactions[]object No
$.oneOf[0].allOf[1].Payload.transactions[].sourcestring ["transaction","custom_article"] si
$.oneOf[0].allOf[1].Payload.transactions[].idinteger si
$.oneOf[0].allOf[1].Payload.transactions[].amountCentsinteger si
$.oneOf[0].allOf[1].Payload.transactions[].datestring si
$.oneOf[0].allOf[1].Payload.transactions[].labelstring si
$.oneOf[0].allOf[1].Payload.transactions[].statusstring ["PENDING","COMPLETED","RECORDED"] si
$.oneOf[0].allOf[1].Payload.transactions[].formattedAmountstring si
$.oneOf[0].allOf[1].Payload.hasMoreboolean si
$.oneOf[1]object si
$.oneOf[1].RequestUserAliasstring si
$.oneOf[1].RequestPathstring | null si
$.oneOf[1].RequestStatus = "Failed" si
$.oneOf[1].ResponseCodeinteger si
$.oneOf[1].ResponseMessageAPIResponseMessage si
$.oneOf[1].ResponseMessage.oneOf[0]string | number | boolean | null si
$.oneOf[1].ResponseMessage.oneOf[1]array si
$.oneOf[1].ResponseMessage.oneOf[1][]APIResponseMessage No
$.oneOf[1].ResponseMessage.oneOf[2]object si
$.oneOf[1].ResponseMessage.oneOf[2].*APIResponseMessage No
$.oneOf[1].RequestImpersonatedByUserAliasstring No
Ejemplo de respuesta
{
    "RequestStatus": "Succeeded",
    "ResponseCode": 100,
    "ResponseMessage": "Synthetic success example.",
    "RequestPath": "/v1/infractions/get_report_transactions",
    "RequestUserAlias": "example-user",
    "Payload": {
        "transactions": [],
        "hasMore": false
    }
}
Documentación del endpoint legible por máquinas
POST

/v1/infractions/set_report

#
Submit a private infraction report with optional uploaded images, videos or PDFs. Attachments and later evidence-chat uploads are linked to the report and visible only to its reporter and authorized reviewers.

Parámetros

NombreTipoObligatorioPredeterminadoDescripción
submissionKey string si — Stable unique retry identifier, 16-80 alphanumeric, underscore or hyphen characters.
reportJson string si — JSON containing typeID, userID or userAlias, incidentDate (YYYY-MM-DD), required description, optional legacy evidence text, mediaIDs [owned ATMedia IDs], references [{type: seller|transaction|listing|chat|custom_article,id}], and subjectTransactionSource/subjectTransactionID. Transaction-based types require exactly one canonical source/ID pair at submission; other internal references are optional; staff must verify configured required references before approving an adverse finding. Chat references require the reporter's current access and remain private to the reporter and case reviewers. Legacy sellerID/sellerAlias are accepted when neither canonical user field is supplied.
isWritingRequest bool No false Must be true to submit.
Ejemplo de solicitud (cURL)
curl --request POST \
  'https://es.appointmenttrader.com/v1/infractions/set_report' \
  --data-urlencode 'key={{API_KEY}}' \
  --data-urlencode 'submissionKey={{submissionKey}}' \
  --data-urlencode 'reportJson={{reportJson}}' \
  --data-urlencode 'isWritingRequest={{isWritingRequest}}'

Respuesta

JSON
See the shared response schema and synthetic example.
Parámetros: reportJson
CampoTipoObligatorioDescripción
reportJsonstring (application/json) si
reportJsonobject (JSON decodificado) si
reportJson.userIDinteger No
reportJson.userAliasstring No
reportJson.sellerIDinteger No
reportJson.sellerAliasstring No
reportJson.incidentDatestring si
reportJson.descriptionstring si
reportJson.evidencestring No
reportJson.referencesarray No
reportJson.references[]object No
reportJson.references[].typestring ["seller","transaction","listing","chat","custom_article"] si
reportJson.references[].idinteger si
reportJson.mediaIDsarray No
reportJson.mediaIDs[]DatabaseInteger NoInteger value; legacy MySQL reads may serialize it as a numeric string.
reportJson.mediaIDs[].oneOf[0]integer No
reportJson.mediaIDs[].oneOf[1]string No
reportJson.typeIDinteger si
reportJson.subjectTransactionSourcestring ["transaction","custom_article"] No
reportJson.subjectTransactionIDinteger No
Campos de respuesta
CampoTipoObligatorioDescripción
$infractions_set_report_Response si
$.oneOf[0] si
$.oneOf[0].allOf[0]object si
$.oneOf[0].allOf[0].RequestUserAliasstring si
$.oneOf[0].allOf[0].RequestPathstring | null si
$.oneOf[0].allOf[0].RequestStatus = "Succeeded" si
$.oneOf[0].allOf[0].ResponseCodeinteger si
$.oneOf[0].allOf[0].ResponseMessageAPIResponseMessage si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[0]string | number | boolean | null si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1]array si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[1][]APIResponseMessage No
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2]object si
$.oneOf[0].allOf[0].ResponseMessage.oneOf[2].*APIResponseMessage No
$.oneOf[0].allOf[0].RequestImpersonatedByUserAliasstring No
$.oneOf[0].allOf[1]object si
$.oneOf[0].allOf[1].Payloadobject si
$.oneOf[0].allOf[1].Payload.caseIDinteger si
$.oneOf[0].allOf[1].Payload.chatIDinteger si
$.oneOf[1]object si
$.oneOf[1].RequestUserAliasstring si
$.oneOf[1].RequestPathstring | null si
$.oneOf[1].RequestStatus = "Failed" si
$.oneOf[1].ResponseCodeinteger si
$.oneOf[1].ResponseMessageAPIResponseMessage si
$.oneOf[1].ResponseMessage.oneOf[0]string | number | boolean | null si
$.oneOf[1].ResponseMessage.oneOf[1]array si
$.oneOf[1].ResponseMessage.oneOf[1][]APIResponseMessage No
$.oneOf[1].ResponseMessage.oneOf[2]object si
$.oneOf[1].ResponseMessage.oneOf[2].*APIResponseMessage No
$.oneOf[1].RequestImpersonatedByUserAliasstring No
Ejemplo de respuesta
{
    "RequestStatus": "Succeeded",
    "ResponseCode": 100,
    "ResponseMessage": "Synthetic success example.",
    "RequestPath": "/v1/infractions/set_report",
    "RequestUserAlias": "example-user",
    "Payload": {
        "caseID": 0,
        "chatID": 0
    }
}
Documentación del endpoint legible por máquinas