DX STF Client API

<back to all web services

UpdateClaimLinkedCreditNote

/claim

Link claim to credit note

Requires Authentication
The following routes are available for this service:
PUT/claim/{claimId}/creditNote/{creditNoteId}/linkUpdate claim linked to matching credit note
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


/**
* Link claim to credit note
*/
@Api(Description="Link claim to credit note")
@ApiResponse(Description="Claim linked", IsDefaultResponse=true, StatusCode=204)
// @ApiResponse(Description="Claim not found", StatusCode=404)
open class UpdateClaimLinkedCreditNote
{
    @ApiMember(ExcludeInSchema=true, ParameterType="path")
    open var claimId:UUID? = null

    @ApiMember(ExcludeInSchema=true, ParameterType="path")
    open var creditNoteId:UUID? = null
}

Kotlin UpdateClaimLinkedCreditNote DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /claim/{claimId}/creditNote/{creditNoteId}/link HTTP/1.1 
Host: stf-api-uat.data-xchange.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{}