POST api/invoice/{id}/linkfees

Add a fee to an existing invoice Processes this invoice API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The unique identifier of the requested resource.

integer

Required

Body Parameters

The fees value supplied with the request.

Collection of LinkedFeeDataContract
NameDescriptionTypeAdditional information
LiableAccountId

The unique identifier of the related liable account resource.

integer

None.

RecipientAccountId

The unique identifier of the related recipient account resource.

integer

None.

FeeId

The unique identifier of the related fee resource.

integer

None.

ExternalReference

The external reference value.

integer

None.

Id

The unique identifier of this resource.

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
[
  {
    "LiableAccountId": 1,
    "RecipientAccountId": 2,
    "FeeId": 3,
    "ExternalReference": 4,
    "Id": 5
  },
  {
    "LiableAccountId": 1,
    "RecipientAccountId": 2,
    "FeeId": 3,
    "ExternalReference": 4,
    "Id": 5
  }
]

Response Information

Resource Description

The response returned after the operation completes.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.