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": "22491a52-68ed-4883-9f54-498e578a2e16", "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>22491a52-68ed-4883-9f54-498e578a2e16</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": "feccd11b-7097-4352-9f55-b555c634d231", "PreviousYearGUID": "3876f2fe-1eb7-4aa6-b6ce-3858063dd19a", "PreviousYearDescription": "sample string 2", "PreviousYearCreatedDateTimeUTC": "2024-11-21T09:37:32.8711184+00:00", "JournalEntryNumber": 3, "Date": "2024-11-21T09:37:32.8711184+00:00", "TypeOfEntry": "sample string 5", "Reference": "sample string 6", "GrowerGUID": "1e61fc0c-a4cd-483f-b289-8c1062f70493", "GrowerID": "sample string 7", "GrowerName": "sample string 8", "VendorGUID": "f61717bf-cde8-436e-9fc4-d557a53855d9", "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": "2024-11-21T09:37:32.8711184+00:00", "ReversedByJEGUID": "1dee5dfa-3b88-4303-9925-49794450bc07", "ReversedByJENumber": 1, "ReversalOfJEGUID": "ca69cc15-c3a0-48f1-9bb6-93828a695fe7", "ReversalOfJENumber": 1, "PostCurrent": true, "ACHPayment": true, "Status": "sample string 22", "SourceTransactionGUID": "093d52d2-dcd7-4f32-9649-02285e2aa27f", "LastModifiedUTC": "2024-11-21T09:37:32.8711184+00:00", "LineItems": [ { "JournalEntryDTGUID": "95b66dbe-dc28-44cc-85f0-e131619f2d93", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "b30c733b-3682-4504-beaa-21c956a12e24", "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": "95b66dbe-dc28-44cc-85f0-e131619f2d93", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "b30c733b-3682-4504-beaa-21c956a12e24", "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": "feccd11b-7097-4352-9f55-b555c634d231", "PreviousYearGUID": "3876f2fe-1eb7-4aa6-b6ce-3858063dd19a", "PreviousYearDescription": "sample string 2", "PreviousYearCreatedDateTimeUTC": "2024-11-21T09:37:32.8711184+00:00", "JournalEntryNumber": 3, "Date": "2024-11-21T09:37:32.8711184+00:00", "TypeOfEntry": "sample string 5", "Reference": "sample string 6", "GrowerGUID": "1e61fc0c-a4cd-483f-b289-8c1062f70493", "GrowerID": "sample string 7", "GrowerName": "sample string 8", "VendorGUID": "f61717bf-cde8-436e-9fc4-d557a53855d9", "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": "2024-11-21T09:37:32.8711184+00:00", "ReversedByJEGUID": "1dee5dfa-3b88-4303-9925-49794450bc07", "ReversedByJENumber": 1, "ReversalOfJEGUID": "ca69cc15-c3a0-48f1-9bb6-93828a695fe7", "ReversalOfJENumber": 1, "PostCurrent": true, "ACHPayment": true, "Status": "sample string 22", "SourceTransactionGUID": "093d52d2-dcd7-4f32-9649-02285e2aa27f", "LastModifiedUTC": "2024-11-21T09:37:32.8711184+00:00", "LineItems": [ { "JournalEntryDTGUID": "95b66dbe-dc28-44cc-85f0-e131619f2d93", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "b30c733b-3682-4504-beaa-21c956a12e24", "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": "95b66dbe-dc28-44cc-85f0-e131619f2d93", "LineItem": 2, "DebitOrCredit": "sample string 3", "AcctProfGUID": "b30c733b-3682-4504-beaa-21c956a12e24", "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>2024-11-21T09:37:32.8711184+00:00</d2p1:Date> <d2p1:Description>sample string 13</d2p1:Description> <d2p1:FiscalMonth>17</d2p1:FiscalMonth> <d2p1:GrowerGUID>1e61fc0c-a4cd-483f-b289-8c1062f70493</d2p1:GrowerGUID> <d2p1:GrowerID>sample string 7</d2p1:GrowerID> <d2p1:GrowerName>sample string 8</d2p1:GrowerName> <d2p1:JournalEntryGUID>feccd11b-7097-4352-9f55-b555c634d231</d2p1:JournalEntryGUID> <d2p1:JournalEntryNumber>3</d2p1:JournalEntryNumber> <d2p1:LastModifiedUTC>2024-11-21T09:37:32.8711184+00:00</d2p1:LastModifiedUTC> <d2p1:LineItems> <d2p1:JournalEntryDT> <d2p1:AccountDescription>sample string 5</d2p1:AccountDescription> <d2p1:AccountID>sample string 4</d2p1:AccountID> <d2p1:AcctProfGUID>b30c733b-3682-4504-beaa-21c956a12e24</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>95b66dbe-dc28-44cc-85f0-e131619f2d93</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>b30c733b-3682-4504-beaa-21c956a12e24</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>95b66dbe-dc28-44cc-85f0-e131619f2d93</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>2024-11-21T09:37:32.8711184+00:00</d2p1:PreviousYearCreatedDateTimeUTC> <d2p1:PreviousYearDescription>sample string 2</d2p1:PreviousYearDescription> <d2p1:PreviousYearGUID>3876f2fe-1eb7-4aa6-b6ce-3858063dd19a</d2p1:PreviousYearGUID> <d2p1:Reference>sample string 6</d2p1:Reference> <d2p1:ReversalOfJEGUID>ca69cc15-c3a0-48f1-9bb6-93828a695fe7</d2p1:ReversalOfJEGUID> <d2p1:ReversalOfJENumber>1</d2p1:ReversalOfJENumber> <d2p1:ReversedByJEGUID>1dee5dfa-3b88-4303-9925-49794450bc07</d2p1:ReversedByJEGUID> <d2p1:ReversedByJENumber>1</d2p1:ReversedByJENumber> <d2p1:Source>sample string 11</d2p1:Source> <d2p1:SourceTransactionGUID>093d52d2-dcd7-4f32-9649-02285e2aa27f</d2p1:SourceTransactionGUID> <d2p1:Status>sample string 22</d2p1:Status> <d2p1:TotalAmount>14.1</d2p1:TotalAmount> <d2p1:TransactionDateTimeUTC>2024-11-21T09:37:32.8711184+00:00</d2p1:TransactionDateTimeUTC> <d2p1:TypeOfEntry>sample string 5</d2p1:TypeOfEntry> <d2p1:VendorGUID>f61717bf-cde8-436e-9fc4-d557a53855d9</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>2024-11-21T09:37:32.8711184+00:00</d2p1:Date> <d2p1:Description>sample string 13</d2p1:Description> <d2p1:FiscalMonth>17</d2p1:FiscalMonth> <d2p1:GrowerGUID>1e61fc0c-a4cd-483f-b289-8c1062f70493</d2p1:GrowerGUID> <d2p1:GrowerID>sample string 7</d2p1:GrowerID> <d2p1:GrowerName>sample string 8</d2p1:GrowerName> <d2p1:JournalEntryGUID>feccd11b-7097-4352-9f55-b555c634d231</d2p1:JournalEntryGUID> <d2p1:JournalEntryNumber>3</d2p1:JournalEntryNumber> <d2p1:LastModifiedUTC>2024-11-21T09:37:32.8711184+00:00</d2p1:LastModifiedUTC> <d2p1:LineItems> <d2p1:JournalEntryDT> <d2p1:AccountDescription>sample string 5</d2p1:AccountDescription> <d2p1:AccountID>sample string 4</d2p1:AccountID> <d2p1:AcctProfGUID>b30c733b-3682-4504-beaa-21c956a12e24</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>95b66dbe-dc28-44cc-85f0-e131619f2d93</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>b30c733b-3682-4504-beaa-21c956a12e24</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>95b66dbe-dc28-44cc-85f0-e131619f2d93</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>2024-11-21T09:37:32.8711184+00:00</d2p1:PreviousYearCreatedDateTimeUTC> <d2p1:PreviousYearDescription>sample string 2</d2p1:PreviousYearDescription> <d2p1:PreviousYearGUID>3876f2fe-1eb7-4aa6-b6ce-3858063dd19a</d2p1:PreviousYearGUID> <d2p1:Reference>sample string 6</d2p1:Reference> <d2p1:ReversalOfJEGUID>ca69cc15-c3a0-48f1-9bb6-93828a695fe7</d2p1:ReversalOfJEGUID> <d2p1:ReversalOfJENumber>1</d2p1:ReversalOfJENumber> <d2p1:ReversedByJEGUID>1dee5dfa-3b88-4303-9925-49794450bc07</d2p1:ReversedByJEGUID> <d2p1:ReversedByJENumber>1</d2p1:ReversedByJENumber> <d2p1:Source>sample string 11</d2p1:Source> <d2p1:SourceTransactionGUID>093d52d2-dcd7-4f32-9649-02285e2aa27f</d2p1:SourceTransactionGUID> <d2p1:Status>sample string 22</d2p1:Status> <d2p1:TotalAmount>14.1</d2p1:TotalAmount> <d2p1:TransactionDateTimeUTC>2024-11-21T09:37:32.8711184+00:00</d2p1:TransactionDateTimeUTC> <d2p1:TypeOfEntry>sample string 5</d2p1:TypeOfEntry> <d2p1:VendorGUID>f61717bf-cde8-436e-9fc4-d557a53855d9</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>