| PUT | /claim/{claimId}/creditNote/{creditNoteId}/link | Update claim linked to matching credit note |
|---|
namespace DX.STF.Application.ClientApi.Messages.Claim
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
///<summary>
///Link claim to credit note
///</summary>
[<Api(Description="Link claim to credit note")>]
[<ApiResponse(Description="Claim linked", IsDefaultResponse=true, StatusCode=204)>]
[<ApiResponse(Description="Claim not found", StatusCode=404)>]
[<AllowNullLiteral>]
type UpdateClaimLinkedCreditNote() =
[<ApiMember(ExcludeInSchema=true, ParameterType="path")>]
member val ClaimId:Guid = new Guid() with get,set
[<ApiMember(ExcludeInSchema=true, ParameterType="path")>]
member val CreditNoteId:Guid = new Guid() with get,set
F# 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
{}