POST api/customdata/greystone/AddCurrentSeasonAccountTransaction

Request Information

URI Parameters

None.

Body Parameters

AddCurrentSeasonAccountTransactionRequest
NameDescriptionTypeAdditional information
PersonID

integer

None.

AccountID

integer

None.

SignedAmount

decimal number

None.

EffectiveDate

date

None.

Memo

string

None.

SavedBy

string

None.

BillingItemID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonID": 1,
  "AccountID": 2,
  "SignedAmount": 3.0,
  "EffectiveDate": "2024-05-07T05:07:33.9353734-06:00",
  "Memo": "sample string 5",
  "SavedBy": "sample string 6",
  "BillingItemID": 7
}

application/javascript

Sample:
{"PersonID":1,"AccountID":2,"SignedAmount":3.0,"EffectiveDate":"2024-05-07T05:07:33.9353734-06:00","Memo":"sample string 5","SavedBy":"sample string 6","BillingItemID":7}

application/xml, text/xml

Sample:
<AddCurrentSeasonAccountTransactionRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PersonID>1</PersonID>
  <AccountID>2</AccountID>
  <SignedAmount>3</SignedAmount>
  <EffectiveDate>2024-05-07T05:07:33.9353734-06:00</EffectiveDate>
  <Memo>sample string 5</Memo>
  <SavedBy>sample string 6</SavedBy>
  <BillingItemID>7</BillingItemID>
</AddCurrentSeasonAccountTransactionRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddCurrentSeasonAccountTransactionRequest'.

Response Information

Resource Description

WebMethodResultOfListOfTransaction
NameDescriptionTypeAdditional information
Result

Collection of Transaction

None.

Success

boolean

None.

ErrorText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": [
    {
      "ID": 1,
      "PersonID": 2,
      "PostDate": "2024-05-07T05:07:33.9353734-06:00",
      "EffectiveDate": "2024-05-07T05:07:33.9353734-06:00",
      "Description": "sample string 5",
      "SignedAmount": 6.0,
      "Memo": "sample string 7",
      "IsDeleted": true,
      "SavedBy": "sample string 9"
    },
    {
      "ID": 1,
      "PersonID": 2,
      "PostDate": "2024-05-07T05:07:33.9353734-06:00",
      "EffectiveDate": "2024-05-07T05:07:33.9353734-06:00",
      "Description": "sample string 5",
      "SignedAmount": 6.0,
      "Memo": "sample string 7",
      "IsDeleted": true,
      "SavedBy": "sample string 9"
    }
  ],
  "Success": true,
  "ErrorText": "sample string 2"
}

application/javascript

Sample:
{"Result":[{"ID":1,"PersonID":2,"PostDate":"2024-05-07T05:07:33.9353734-06:00","EffectiveDate":"2024-05-07T05:07:33.9353734-06:00","Description":"sample string 5","SignedAmount":6.0,"Memo":"sample string 7","IsDeleted":true,"SavedBy":"sample string 9"},{"ID":1,"PersonID":2,"PostDate":"2024-05-07T05:07:33.9353734-06:00","EffectiveDate":"2024-05-07T05:07:33.9353734-06:00","Description":"sample string 5","SignedAmount":6.0,"Memo":"sample string 7","IsDeleted":true,"SavedBy":"sample string 9"}],"Success":true,"ErrorText":"sample string 2"}

application/xml, text/xml

Sample:
<WebMethodResultOfListOfTransaction xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Success>true</Success>
  <ErrorText>sample string 2</ErrorText>
  <Result>
    <Transaction>
      <ID>1</ID>
      <PersonID>2</PersonID>
      <PostDate>2024-05-07T05:07:33.9353734-06:00</PostDate>
      <EffectiveDate>2024-05-07T05:07:33.9353734-06:00</EffectiveDate>
      <Description>sample string 5</Description>
      <SignedAmount>6</SignedAmount>
      <Memo>sample string 7</Memo>
      <IsDeleted>true</IsDeleted>
      <SavedBy>sample string 9</SavedBy>
    </Transaction>
    <Transaction>
      <ID>1</ID>
      <PersonID>2</PersonID>
      <PostDate>2024-05-07T05:07:33.9353734-06:00</PostDate>
      <EffectiveDate>2024-05-07T05:07:33.9353734-06:00</EffectiveDate>
      <Description>sample string 5</Description>
      <SignedAmount>6</SignedAmount>
      <Memo>sample string 7</Memo>
      <IsDeleted>true</IsDeleted>
      <SavedBy>sample string 9</SavedBy>
    </Transaction>
  </Result>
</WebMethodResultOfListOfTransaction>