POST api/MiscFee

Request Information

URI Parameters

None.

Body Parameters

PostMiscFees
NameDescriptionTypeAdditional information
MiscFeesLibrary

MiscFeesGroupLibrary

None.

MiscFees

Collection of MiscGroupFee

None.

FeeLibrary

Collection of FeeLibrary

None.

Request Formats

application/json, text/json

Sample:
{
  "miscFeesLibrary": {
    "id": 1,
    "groupName": "sample string 2",
    "description": "sample string 3"
  },
  "miscFees": [
    {
      "id": 1,
      "miscFeesGroupLibraryId": 2,
      "feeLibraryId": 3,
      "amount": 4.0
    },
    {
      "id": 1,
      "miscFeesGroupLibraryId": 2,
      "feeLibraryId": 3,
      "amount": 4.0
    }
  ],
  "feeLibrary": [
    {
      "id": 1,
      "code": "sample string 2",
      "description": "sample string 3",
      "isDiscountable": true,
      "isPostable": true,
      "feeTypeId": 6
    },
    {
      "id": 1,
      "code": "sample string 2",
      "description": "sample string 3",
      "isDiscountable": true,
      "isPostable": true,
      "feeTypeId": 6
    }
  ]
}

text/html

Sample:
{"miscFeesLibrary":{"id":1,"groupName":"sample string 2","description":"sample string 3"},"miscFees":[{"id":1,"miscFeesGroupLibraryId":2,"feeLibraryId":3,"amount":4.0},{"id":1,"miscFeesGroupLibraryId":2,"feeLibraryId":3,"amount":4.0}],"feeLibrary":[{"id":1,"code":"sample string 2","description":"sample string 3","isDiscountable":true,"isPostable":true,"feeTypeId":6},{"id":1,"code":"sample string 2","description":"sample string 3","isDiscountable":true,"isPostable":true,"feeTypeId":6}]}

application/xml, text/xml

Sample:
<PostMiscFees xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UBBEAMS.Api.ViewModels">
  <FeeLibrary xmlns:d2p1="http://schemas.datacontract.org/2004/07/UBBEAMS.Infrastructure.Models">
    <d2p1:FeeLibrary>
      <d2p1:Code>sample string 2</d2p1:Code>
      <d2p1:Description>sample string 3</d2p1:Description>
      <d2p1:FeeTypeId>6</d2p1:FeeTypeId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:isDiscountable>true</d2p1:isDiscountable>
      <d2p1:isPostable>true</d2p1:isPostable>
    </d2p1:FeeLibrary>
    <d2p1:FeeLibrary>
      <d2p1:Code>sample string 2</d2p1:Code>
      <d2p1:Description>sample string 3</d2p1:Description>
      <d2p1:FeeTypeId>6</d2p1:FeeTypeId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:isDiscountable>true</d2p1:isDiscountable>
      <d2p1:isPostable>true</d2p1:isPostable>
    </d2p1:FeeLibrary>
  </FeeLibrary>
  <MiscFees xmlns:d2p1="http://schemas.datacontract.org/2004/07/UBBEAMS.Infrastructure.Models">
    <d2p1:MiscGroupFee>
      <d2p1:Amount>4</d2p1:Amount>
      <d2p1:FeeLibraryId>3</d2p1:FeeLibraryId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:MiscFeesGroupLibraryId>2</d2p1:MiscFeesGroupLibraryId>
    </d2p1:MiscGroupFee>
    <d2p1:MiscGroupFee>
      <d2p1:Amount>4</d2p1:Amount>
      <d2p1:FeeLibraryId>3</d2p1:FeeLibraryId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:MiscFeesGroupLibraryId>2</d2p1:MiscFeesGroupLibraryId>
    </d2p1:MiscGroupFee>
  </MiscFees>
  <MiscFeesLibrary 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>
  </MiscFeesLibrary>
</PostMiscFees>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.