POST api/AccountTransactionTypeAPI

Request Information

URI Parameters

None.

Body Parameters

AccountTransactionType
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

SortOrder

integer

None.

UserString

string

None.

SourceAccountTypeId

integer

None.

TargetAccountTypeId

integer

None.

DefaultSourceAccountId

integer

None.

DefaultTargetAccountId

integer

None.

ForeignCurrencyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "SortOrder": 3,
  "UserString": "sample string 2",
  "SourceAccountTypeId": 4,
  "TargetAccountTypeId": 5,
  "DefaultSourceAccountId": 6,
  "DefaultTargetAccountId": 7,
  "ForeignCurrencyId": 8
}

application/xml, text/xml

Sample:
<AccountTransactionType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DCubeHotelDomain.Models.Accounts">
  <DefaultSourceAccountId>6</DefaultSourceAccountId>
  <DefaultTargetAccountId>7</DefaultTargetAccountId>
  <ForeignCurrencyId>8</ForeignCurrencyId>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <SortOrder>3</SortOrder>
  <SourceAccountTypeId>4</SourceAccountTypeId>
  <TargetAccountTypeId>5</TargetAccountTypeId>
</AccountTransactionType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.