POST api/OtherFee

Request Information

URI Parameters

None.

Body Parameters

PostOtherFees
NameDescriptionTypeAdditional information
OtherFeesLibrary

OtherFeesGroupLibrary

None.

OtherFees

Collection of OtherGroupFee

None.

Request Formats

application/json, text/json

Sample:
{
  "otherFeesLibrary": {
    "id": 1,
    "groupName": "sample string 2",
    "description": "sample string 3"
  },
  "otherFees": [
    {
      "id": 1,
      "otherFeesGroupLibraryId": 2,
      "feeLibraryId": 3,
      "amount": 4.0
    },
    {
      "id": 1,
      "otherFeesGroupLibraryId": 2,
      "feeLibraryId": 3,
      "amount": 4.0
    }
  ]
}

text/html

Sample:
{"otherFeesLibrary":{"id":1,"groupName":"sample string 2","description":"sample string 3"},"otherFees":[{"id":1,"otherFeesGroupLibraryId":2,"feeLibraryId":3,"amount":4.0},{"id":1,"otherFeesGroupLibraryId":2,"feeLibraryId":3,"amount":4.0}]}

application/xml, text/xml

Sample:
<PostOtherFees xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UBBEAMS.Api.ViewModels">
  <OtherFees xmlns:d2p1="http://schemas.datacontract.org/2004/07/UBBEAMS.Infrastructure.Models">
    <d2p1:OtherGroupFee>
      <d2p1:Amount>4</d2p1:Amount>
      <d2p1:FeeLibraryId>3</d2p1:FeeLibraryId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:OtherFeesGroupLibraryId>2</d2p1:OtherFeesGroupLibraryId>
    </d2p1:OtherGroupFee>
    <d2p1:OtherGroupFee>
      <d2p1:Amount>4</d2p1:Amount>
      <d2p1:FeeLibraryId>3</d2p1:FeeLibraryId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:OtherFeesGroupLibraryId>2</d2p1:OtherFeesGroupLibraryId>
    </d2p1:OtherGroupFee>
  </OtherFees>
  <OtherFeesLibrary xmlns:d2p1="http://schemas.datacontract.org/2004/07/UBBEAMS.Infrastructure.Models">
    <d2p1:Description>sample string 3</d2p1:Description>
    <d2p1:GroupName>sample string 2</d2p1:GroupName>
    <d2p1:Id>1</d2p1:Id>
  </OtherFeesLibrary>
</PostOtherFees>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.