POST api/UnappliedCashDetail
Creates an Unapplied Cash Detail record
Request Information
URI Parameters
None.
Body Parameters
UnappliedCashDetailName | Description | Type | Additional information |
---|---|---|---|
UnappliedCashDetailId |
Sedona internal autonumber for the AR_Unapplied_Cash_Detail record (set automatically on POST) |
integer |
None. |
UnappliedCashId |
Foreign key from AR_Unapplied_Cash |
integer |
Required |
Date |
Defaults to today's date, but can be overridden |
string |
None. |
TypeAIM |
A = Advance Deposit; I = Invoice; M = Misc. Inc Account; set automatically on POST |
string |
None. |
InvoiceNumber |
value from AR_Invoice table; this is the Invoice_Number field, not the autonumber Invoice_Id; either InvoiceNumber or MiscIncAccountCode must be supplied, but not both |
integer |
None. |
IncAccountCode |
Income Account (from GL_Account) to apply to |
string |
None. |
Amount |
Amount |
decimal number |
Required |
CategoryCode |
Category from AR_Category table |
string |
Required |
UserCode |
the user making this change; defaults to UserCode value from config file if not set explicitly |
string |
String length: inclusive between 0 and 30 |
Request Formats
application/json, text/json
{ "UnappliedCashDetailId": 1, "UnappliedCashId": 2, "Date": "sample string 3", "TypeAIM": "sample string 4", "InvoiceNumber": 5, "IncAccountCode": "sample string 6", "Amount": 7.0, "CategoryCode": "sample string 8", "UserCode": "sample string 9" }
application/xml, text/xml
<UnappliedCashDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <Amount>7</Amount> <CategoryCode>sample string 8</CategoryCode> <Date>sample string 3</Date> <IncAccountCode>sample string 6</IncAccountCode> <InvoiceNumber>5</InvoiceNumber> <TypeAIM>sample string 4</TypeAIM> <UnappliedCashDetailId>1</UnappliedCashDetailId> <UnappliedCashId>2</UnappliedCashId> <UserCode>sample string 9</UserCode> </UnappliedCashDetail>
application/x-www-form-urlencoded
Response Information
Resource Description
UnappliedCashDetailName | Description | Type | Additional information |
---|---|---|---|
UnappliedCashDetailId |
Sedona internal autonumber for the AR_Unapplied_Cash_Detail record (set automatically on POST) |
integer |
None. |
UnappliedCashId |
Foreign key from AR_Unapplied_Cash |
integer |
Required |
Date |
Defaults to today's date, but can be overridden |
string |
None. |
TypeAIM |
A = Advance Deposit; I = Invoice; M = Misc. Inc Account; set automatically on POST |
string |
None. |
InvoiceNumber |
value from AR_Invoice table; this is the Invoice_Number field, not the autonumber Invoice_Id; either InvoiceNumber or MiscIncAccountCode must be supplied, but not both |
integer |
None. |
IncAccountCode |
Income Account (from GL_Account) to apply to |
string |
None. |
Amount |
Amount |
decimal number |
Required |
CategoryCode |
Category from AR_Category table |
string |
Required |
UserCode |
the user making this change; defaults to UserCode value from config file if not set explicitly |
string |
String length: inclusive between 0 and 30 |
Response Formats
application/json, text/json
{ "UnappliedCashDetailId": 1, "UnappliedCashId": 2, "Date": "sample string 3", "TypeAIM": "sample string 4", "InvoiceNumber": 5, "IncAccountCode": "sample string 6", "Amount": 7.0, "CategoryCode": "sample string 8", "UserCode": "sample string 9" }
application/xml, text/xml
<UnappliedCashDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <Amount>7</Amount> <CategoryCode>sample string 8</CategoryCode> <Date>sample string 3</Date> <IncAccountCode>sample string 6</IncAccountCode> <InvoiceNumber>5</InvoiceNumber> <TypeAIM>sample string 4</TypeAIM> <UnappliedCashDetailId>1</UnappliedCashDetailId> <UnappliedCashId>2</UnappliedCashId> <UserCode>sample string 9</UserCode> </UnappliedCashDetail>