PUT JournalEntry/PutJournalEntry
Updates an existing Journal Entry
Request Information
URI Parameters
Body Parameters
The Journal Entry object to update.
ClsJEntryUpdateName | Description | Type | Additional Information |
---|---|---|---|
Jenum |
The number of the journal entry to update |
string | |
JEntryGuid |
The GUID of the journal entry to update |
globally unique identifier | |
Dateje |
The date of the journal entry |
string |
Data type: DateTime Format must be MM/dd/yyyy |
Reference |
A user identifiable ID that defines the source of the journal entry |
string |
Max length: 25 |
Description |
User entered comments |
string | |
JEntryDts |
List of detail lines on the journal entry |
Collection of ClsJEntryDTUpdate |
Request Formats
application/json, text/json
{ "Jenum": "sample string 1", "JEntryGuid": "40633e13-dd70-4725-bb8b-5b705b9a8d16", "Dateje": "sample string 2", "Reference": "sample string 3", "Description": "sample string 4", "JEntryDts": [ { "Lineitem": 1, "Comment": "sample string 2" }, { "Lineitem": 1, "Comment": "sample string 2" } ] }
application/xml, text/xml
<JournalEntryUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SKY.Core.JournalEntry"> <Dateje>sample string 2</Dateje> <Description>sample string 4</Description> <JEntryDts> <JournalEntryDTUpdate> <Comment>sample string 2</Comment> <Lineitem>1</Lineitem> </JournalEntryDTUpdate> <JournalEntryDTUpdate> <Comment>sample string 2</Comment> <Lineitem>1</Lineitem> </JournalEntryDTUpdate> </JEntryDts> <JEntryGuid>40633e13-dd70-4725-bb8b-5b705b9a8d16</JEntryGuid> <Jenum>sample string 1</Jenum> <Reference>sample string 3</Reference> </JournalEntryUpdate>
application/x-www-form-urlencoded
Response Information
Resource Description
Updates an existing Journal Entry
AgvJournalEntryName | Description | Type | Additional Information |
---|---|---|---|
Status |
0 = Success. 1 = An error occurred. 2 = An error occurred. 3 = Descriptive message, process was successful. |
string | |
Message |
Informational message that corresponds to the Status returned. 0 - Message will be "OK". 1 - Detailed message returned to give user an indication of what went wrong. 2 - Less Detailed message returned that may not mean anything to the user but that the application might use to take a corrective action. 3 - Not an error but something the user might need to know. |
string | |
ErrorList |
List of error messages of the API call. |
Collection of string | |
WarningList |
List of warning messages of the API call. |
Collection of string | |
Count |
Number of results returned. |
string | |
JournalEntries |
List of Properties and Values returned for each journal entry that matches the request. |
Collection of JEntryMultiYear |
Response Formats
application/json, text/json
{ "Status": "sample string 1", "Message": "sample string 2", "ErrorList": [ "sample string 1", "sample string 2" ], "WarningList": [ "sample string 1", "sample string 2" ], "Count": "2", "JournalEntries": [ { "JournalEntryGUID": "5ecb6dbf-8735-4326-bb97-e288f1fd9a4d", "PreviousYearGUID": "6f40b833-08ac-41fe-baeb-909853bdd03c", "PreviousYearDescription": "sample string 2", "PreviousYearCreatedDateTimeUTC": "2025-01-18T05:06:11.8868419+00:00", "JournalEntryNumber": 3, "Date": "2025-01-18T05:06:11.8868419+00:00", "TypeOfEntry": "sample string 5", "Reference": "sample string 6", "GrowerGUID": "49dac927-c08c-46c4-b89d-022000f201c9", "GrowerID": "sample string 7", "GrowerName": "sample string 8", "VendorGUID": "9a23ca71-ff95-428a-ac61-e4bb3e1450a3", "VendorID": "sample string 9", "VendorName": "sample string 10", "Source": "sample string 11", "CreatedByUser": "sample string 12", "Description": "sample string 13", "TotalAmount": 14.1, "NumberOfDebits": 15, "NumberOfCredits": 16, "FiscalMonth": 17, "AmountPaidFor1099": 18.1, "TransactionDateTimeUTC": "2025-01-18T05:06:11.8868419+00:00", "ReversedByJEGUID": "692aa3bf-54f0-46f8-98df-d0b601b9d69e", "ReversedByJENumber": 1, "ReversalOfJEGUID": "0455bb33-cb68-451e-bdb4-59b73f04070d", "ReversalOfJENumber": 1, "PostCurrent": true, "ACHPayment": true, "Status": "sample string 22", "SourceTransactionGUID": "013bddba-ae98-457a-92f1-3d303b81fe14", "LastModifiedUTC": "2025-01-18T05:06:11.8868419+00:00", "LineItems": [ { "JournalEntryDTGUID": "afd0fd77-70d5-419b-b476-414a535f6918", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "dd479eb9-b281-47d8-b1d2-1639e065b83d", "AccountID": "sample string 4", "AccountDescription": "sample string 5", "Amount": 6.1, "Reconciled": true, "Quantity": 8.1, "Comment": "sample string 9", "Deposited": true, "GrainCode": "sample string 11", "PositivePayExported": true, "GLAccountAttributeValues": [ { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" }, { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" } ] }, { "JournalEntryDTGUID": "afd0fd77-70d5-419b-b476-414a535f6918", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "dd479eb9-b281-47d8-b1d2-1639e065b83d", "AccountID": "sample string 4", "AccountDescription": "sample string 5", "Amount": 6.1, "Reconciled": true, "Quantity": 8.1, "Comment": "sample string 9", "Deposited": true, "GrainCode": "sample string 11", "PositivePayExported": true, "GLAccountAttributeValues": [ { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" }, { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" } ] } ] }, { "JournalEntryGUID": "5ecb6dbf-8735-4326-bb97-e288f1fd9a4d", "PreviousYearGUID": "6f40b833-08ac-41fe-baeb-909853bdd03c", "PreviousYearDescription": "sample string 2", "PreviousYearCreatedDateTimeUTC": "2025-01-18T05:06:11.8868419+00:00", "JournalEntryNumber": 3, "Date": "2025-01-18T05:06:11.8868419+00:00", "TypeOfEntry": "sample string 5", "Reference": "sample string 6", "GrowerGUID": "49dac927-c08c-46c4-b89d-022000f201c9", "GrowerID": "sample string 7", "GrowerName": "sample string 8", "VendorGUID": "9a23ca71-ff95-428a-ac61-e4bb3e1450a3", "VendorID": "sample string 9", "VendorName": "sample string 10", "Source": "sample string 11", "CreatedByUser": "sample string 12", "Description": "sample string 13", "TotalAmount": 14.1, "NumberOfDebits": 15, "NumberOfCredits": 16, "FiscalMonth": 17, "AmountPaidFor1099": 18.1, "TransactionDateTimeUTC": "2025-01-18T05:06:11.8868419+00:00", "ReversedByJEGUID": "692aa3bf-54f0-46f8-98df-d0b601b9d69e", "ReversedByJENumber": 1, "ReversalOfJEGUID": "0455bb33-cb68-451e-bdb4-59b73f04070d", "ReversalOfJENumber": 1, "PostCurrent": true, "ACHPayment": true, "Status": "sample string 22", "SourceTransactionGUID": "013bddba-ae98-457a-92f1-3d303b81fe14", "LastModifiedUTC": "2025-01-18T05:06:11.8868419+00:00", "LineItems": [ { "JournalEntryDTGUID": "afd0fd77-70d5-419b-b476-414a535f6918", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "dd479eb9-b281-47d8-b1d2-1639e065b83d", "AccountID": "sample string 4", "AccountDescription": "sample string 5", "Amount": 6.1, "Reconciled": true, "Quantity": 8.1, "Comment": "sample string 9", "Deposited": true, "GrainCode": "sample string 11", "PositivePayExported": true, "GLAccountAttributeValues": [ { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" }, { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" } ] }, { "JournalEntryDTGUID": "afd0fd77-70d5-419b-b476-414a535f6918", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "dd479eb9-b281-47d8-b1d2-1639e065b83d", "AccountID": "sample string 4", "AccountDescription": "sample string 5", "Amount": 6.1, "Reconciled": true, "Quantity": 8.1, "Comment": "sample string 9", "Deposited": true, "GrainCode": "sample string 11", "PositivePayExported": true, "GLAccountAttributeValues": [ { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" }, { "MasterCrossRefNamesKey": 3, "CrossRefName": "sample string 4", "CrossRefValue": "sample string 5" } ] } ] } ] }
application/xml, text/xml
<AgvJournalEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.JournalEntry"> <ErrorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ErrorList> <JournalEntries xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.JournalEntry"> <d2p1:JournalEntry> <d2p1:ACHPayment>true</d2p1:ACHPayment> <d2p1:AmountPaidFor1099>18.1</d2p1:AmountPaidFor1099> <d2p1:CreatedByUser>sample string 12</d2p1:CreatedByUser> <d2p1:Date>2025-01-18T05:06:11.8868419+00:00</d2p1:Date> <d2p1:Description>sample string 13</d2p1:Description> <d2p1:FiscalMonth>17</d2p1:FiscalMonth> <d2p1:GrowerGUID>49dac927-c08c-46c4-b89d-022000f201c9</d2p1:GrowerGUID> <d2p1:GrowerID>sample string 7</d2p1:GrowerID> <d2p1:GrowerName>sample string 8</d2p1:GrowerName> <d2p1:JournalEntryGUID>5ecb6dbf-8735-4326-bb97-e288f1fd9a4d</d2p1:JournalEntryGUID> <d2p1:JournalEntryNumber>3</d2p1:JournalEntryNumber> <d2p1:LastModifiedUTC>2025-01-18T05:06:11.8868419+00:00</d2p1:LastModifiedUTC> <d2p1:LineItems> <d2p1:JournalEntryDT> <d2p1:AccountDescription>sample string 5</d2p1:AccountDescription> <d2p1:AccountID>sample string 4</d2p1:AccountID> <d2p1:AcctProfGUID>dd479eb9-b281-47d8-b1d2-1639e065b83d</d2p1:AcctProfGUID> <d2p1:Amount>6.1</d2p1:Amount> <d2p1:Comment>sample string 9</d2p1:Comment> <d2p1:DebitOrCredit>sample string 3</d2p1:DebitOrCredit> <d2p1:Deposited>true</d2p1:Deposited> <d2p1:GLAccountAttributeValues xmlns:d6p1="http://schemas.datacontract.org/2004/07/SKY.Core.GL"> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> </d2p1:GLAccountAttributeValues> <d2p1:GrainCode>sample string 11</d2p1:GrainCode> <d2p1:JournalEntryDTGUID>afd0fd77-70d5-419b-b476-414a535f6918</d2p1:JournalEntryDTGUID> <d2p1:LineItem>2</d2p1:LineItem> <d2p1:PositivePayExported>true</d2p1:PositivePayExported> <d2p1:Quantity>8.1</d2p1:Quantity> <d2p1:Reconciled>true</d2p1:Reconciled> </d2p1:JournalEntryDT> <d2p1:JournalEntryDT> <d2p1:AccountDescription>sample string 5</d2p1:AccountDescription> <d2p1:AccountID>sample string 4</d2p1:AccountID> <d2p1:AcctProfGUID>dd479eb9-b281-47d8-b1d2-1639e065b83d</d2p1:AcctProfGUID> <d2p1:Amount>6.1</d2p1:Amount> <d2p1:Comment>sample string 9</d2p1:Comment> <d2p1:DebitOrCredit>sample string 3</d2p1:DebitOrCredit> <d2p1:Deposited>true</d2p1:Deposited> <d2p1:GLAccountAttributeValues xmlns:d6p1="http://schemas.datacontract.org/2004/07/SKY.Core.GL"> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> </d2p1:GLAccountAttributeValues> <d2p1:GrainCode>sample string 11</d2p1:GrainCode> <d2p1:JournalEntryDTGUID>afd0fd77-70d5-419b-b476-414a535f6918</d2p1:JournalEntryDTGUID> <d2p1:LineItem>2</d2p1:LineItem> <d2p1:PositivePayExported>true</d2p1:PositivePayExported> <d2p1:Quantity>8.1</d2p1:Quantity> <d2p1:Reconciled>true</d2p1:Reconciled> </d2p1:JournalEntryDT> </d2p1:LineItems> <d2p1:NumberOfCredits>16</d2p1:NumberOfCredits> <d2p1:NumberOfDebits>15</d2p1:NumberOfDebits> <d2p1:PostCurrent>true</d2p1:PostCurrent> <d2p1:PreviousYearCreatedDateTimeUTC>2025-01-18T05:06:11.8868419+00:00</d2p1:PreviousYearCreatedDateTimeUTC> <d2p1:PreviousYearDescription>sample string 2</d2p1:PreviousYearDescription> <d2p1:PreviousYearGUID>6f40b833-08ac-41fe-baeb-909853bdd03c</d2p1:PreviousYearGUID> <d2p1:Reference>sample string 6</d2p1:Reference> <d2p1:ReversalOfJEGUID>0455bb33-cb68-451e-bdb4-59b73f04070d</d2p1:ReversalOfJEGUID> <d2p1:ReversalOfJENumber>1</d2p1:ReversalOfJENumber> <d2p1:ReversedByJEGUID>692aa3bf-54f0-46f8-98df-d0b601b9d69e</d2p1:ReversedByJEGUID> <d2p1:ReversedByJENumber>1</d2p1:ReversedByJENumber> <d2p1:Source>sample string 11</d2p1:Source> <d2p1:SourceTransactionGUID>013bddba-ae98-457a-92f1-3d303b81fe14</d2p1:SourceTransactionGUID> <d2p1:Status>sample string 22</d2p1:Status> <d2p1:TotalAmount>14.1</d2p1:TotalAmount> <d2p1:TransactionDateTimeUTC>2025-01-18T05:06:11.8868419+00:00</d2p1:TransactionDateTimeUTC> <d2p1:TypeOfEntry>sample string 5</d2p1:TypeOfEntry> <d2p1:VendorGUID>9a23ca71-ff95-428a-ac61-e4bb3e1450a3</d2p1:VendorGUID> <d2p1:VendorID>sample string 9</d2p1:VendorID> <d2p1:VendorName>sample string 10</d2p1:VendorName> </d2p1:JournalEntry> <d2p1:JournalEntry> <d2p1:ACHPayment>true</d2p1:ACHPayment> <d2p1:AmountPaidFor1099>18.1</d2p1:AmountPaidFor1099> <d2p1:CreatedByUser>sample string 12</d2p1:CreatedByUser> <d2p1:Date>2025-01-18T05:06:11.8868419+00:00</d2p1:Date> <d2p1:Description>sample string 13</d2p1:Description> <d2p1:FiscalMonth>17</d2p1:FiscalMonth> <d2p1:GrowerGUID>49dac927-c08c-46c4-b89d-022000f201c9</d2p1:GrowerGUID> <d2p1:GrowerID>sample string 7</d2p1:GrowerID> <d2p1:GrowerName>sample string 8</d2p1:GrowerName> <d2p1:JournalEntryGUID>5ecb6dbf-8735-4326-bb97-e288f1fd9a4d</d2p1:JournalEntryGUID> <d2p1:JournalEntryNumber>3</d2p1:JournalEntryNumber> <d2p1:LastModifiedUTC>2025-01-18T05:06:11.8868419+00:00</d2p1:LastModifiedUTC> <d2p1:LineItems> <d2p1:JournalEntryDT> <d2p1:AccountDescription>sample string 5</d2p1:AccountDescription> <d2p1:AccountID>sample string 4</d2p1:AccountID> <d2p1:AcctProfGUID>dd479eb9-b281-47d8-b1d2-1639e065b83d</d2p1:AcctProfGUID> <d2p1:Amount>6.1</d2p1:Amount> <d2p1:Comment>sample string 9</d2p1:Comment> <d2p1:DebitOrCredit>sample string 3</d2p1:DebitOrCredit> <d2p1:Deposited>true</d2p1:Deposited> <d2p1:GLAccountAttributeValues xmlns:d6p1="http://schemas.datacontract.org/2004/07/SKY.Core.GL"> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> </d2p1:GLAccountAttributeValues> <d2p1:GrainCode>sample string 11</d2p1:GrainCode> <d2p1:JournalEntryDTGUID>afd0fd77-70d5-419b-b476-414a535f6918</d2p1:JournalEntryDTGUID> <d2p1:LineItem>2</d2p1:LineItem> <d2p1:PositivePayExported>true</d2p1:PositivePayExported> <d2p1:Quantity>8.1</d2p1:Quantity> <d2p1:Reconciled>true</d2p1:Reconciled> </d2p1:JournalEntryDT> <d2p1:JournalEntryDT> <d2p1:AccountDescription>sample string 5</d2p1:AccountDescription> <d2p1:AccountID>sample string 4</d2p1:AccountID> <d2p1:AcctProfGUID>dd479eb9-b281-47d8-b1d2-1639e065b83d</d2p1:AcctProfGUID> <d2p1:Amount>6.1</d2p1:Amount> <d2p1:Comment>sample string 9</d2p1:Comment> <d2p1:DebitOrCredit>sample string 3</d2p1:DebitOrCredit> <d2p1:Deposited>true</d2p1:Deposited> <d2p1:GLAccountAttributeValues xmlns:d6p1="http://schemas.datacontract.org/2004/07/SKY.Core.GL"> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> <d6p1:GLAccountAttributes> <d6p1:CrossRefName>sample string 4</d6p1:CrossRefName> <d6p1:CrossRefValue>sample string 5</d6p1:CrossRefValue> <d6p1:MasterCrossRefNamesKey>3</d6p1:MasterCrossRefNamesKey> </d6p1:GLAccountAttributes> </d2p1:GLAccountAttributeValues> <d2p1:GrainCode>sample string 11</d2p1:GrainCode> <d2p1:JournalEntryDTGUID>afd0fd77-70d5-419b-b476-414a535f6918</d2p1:JournalEntryDTGUID> <d2p1:LineItem>2</d2p1:LineItem> <d2p1:PositivePayExported>true</d2p1:PositivePayExported> <d2p1:Quantity>8.1</d2p1:Quantity> <d2p1:Reconciled>true</d2p1:Reconciled> </d2p1:JournalEntryDT> </d2p1:LineItems> <d2p1:NumberOfCredits>16</d2p1:NumberOfCredits> <d2p1:NumberOfDebits>15</d2p1:NumberOfDebits> <d2p1:PostCurrent>true</d2p1:PostCurrent> <d2p1:PreviousYearCreatedDateTimeUTC>2025-01-18T05:06:11.8868419+00:00</d2p1:PreviousYearCreatedDateTimeUTC> <d2p1:PreviousYearDescription>sample string 2</d2p1:PreviousYearDescription> <d2p1:PreviousYearGUID>6f40b833-08ac-41fe-baeb-909853bdd03c</d2p1:PreviousYearGUID> <d2p1:Reference>sample string 6</d2p1:Reference> <d2p1:ReversalOfJEGUID>0455bb33-cb68-451e-bdb4-59b73f04070d</d2p1:ReversalOfJEGUID> <d2p1:ReversalOfJENumber>1</d2p1:ReversalOfJENumber> <d2p1:ReversedByJEGUID>692aa3bf-54f0-46f8-98df-d0b601b9d69e</d2p1:ReversedByJEGUID> <d2p1:ReversedByJENumber>1</d2p1:ReversedByJENumber> <d2p1:Source>sample string 11</d2p1:Source> <d2p1:SourceTransactionGUID>013bddba-ae98-457a-92f1-3d303b81fe14</d2p1:SourceTransactionGUID> <d2p1:Status>sample string 22</d2p1:Status> <d2p1:TotalAmount>14.1</d2p1:TotalAmount> <d2p1:TransactionDateTimeUTC>2025-01-18T05:06:11.8868419+00:00</d2p1:TransactionDateTimeUTC> <d2p1:TypeOfEntry>sample string 5</d2p1:TypeOfEntry> <d2p1:VendorGUID>9a23ca71-ff95-428a-ac61-e4bb3e1450a3</d2p1:VendorGUID> <d2p1:VendorID>sample string 9</d2p1:VendorID> <d2p1:VendorName>sample string 10</d2p1:VendorName> </d2p1:JournalEntry> </JournalEntries> <Message>sample string 2</Message> <Status>sample string 1</Status> <WarningList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </WarningList> </AgvJournalEntry>