| PUT | /claim/{claimId}/creditNote/{creditNoteId}/link | Update claim linked to matching credit note |
|---|
// @ts-nocheck
/** @description 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)
export class UpdateClaimLinkedCreditNote
{
// @ApiMember(ExcludeInSchema=true, ParameterType="path")
public claimId: string;
// @ApiMember(ExcludeInSchema=true, ParameterType="path")
public creditNoteId: string;
public constructor(init?: Partial<UpdateClaimLinkedCreditNote>) { (Object as any).assign(this, init); }
}
TypeScript UpdateClaimLinkedCreditNote DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=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
{}