Request to claim-matching sentences
Request
POST https://producer.events.newtral.es/claim-matching/claims
Request body
The request body takes a complete ClaimMatchingClaims resource, containing the following writable properties:
{
    "claims": [
        {
            "source": "string",
            "target": "string"
        }
    ]
}
Properties
| Name | Type | Description | Additional | 
|---|---|---|---|
| claims[] | array | 
     The claims to be matched.  | 
  |
| claims[].source | string | 
     The source claim that is being compared.  | 
  |
| claims[].target | string | 
     The target claim to compare against the source.  | 
  
Authorization
This request requires the use of one of following authorization methods:
  
  API key
  
  .
Response
The following HTTP status codes may be returned, optionally with a response resource.
| Status code | Description | Resource | 
|---|---|---|
| 201 | 
          
            Created
          
           The claims have been successfully processed  | 
        SendResponse | 
| 400 | 
          
            Bad Request
          
           The body is invalid  | 
        AvroValidationException | 
| 401 | 
          
            Unauthorized
          
           The user is not authenticated  | 
        UnauthorizedException | 
| 500 | 
          
            Internal Server Error
          
           The claims could not be processed  | 
        EventNotSentException |