Requires any of the roles: | admin, oauthadmin |
GET | /Ams/{ClientID}/FinanceBatchDetails | Return details of the finance batch for a given batchid. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BatchId | query | string | No | |
PageSize | query | int | No | |
PageNumber | query | int | No | |
OffSet | query | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UsingRedis | form | bool | No | |
AppInitTime | form | DateTime | No | |
ServerID | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClientID | form | int | No | |
ResponseStatus | form | ResponseStatus | No | |
BypassCache | form | bool | No | |
DateCached | form | DateTime | No | |
Device | form | Device | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FinanceBatchDetailsList | form | List<FinanceBatchDetailData> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
InvoiceNo | form | int | No | |
InvoiceType | form | string | No | |
NameOnInvoiceLast | form | string | No | |
NameOnInvoiceFirst | form | string | No | |
NameOnInvoiceMiddle | form | string | No | |
NameOnInvoiceSuffix | form | string | No | |
OriginalInvoicePaymentOption | form | string | No | |
PaymentTerms | form | string | No | |
Organization | form | string | No | |
Address1 | form | string | No | |
Address2 | form | string | No | |
City | form | string | No | |
State | form | string | No | |
Province | form | string | No | |
PostalCode | form | string | No | |
Country | form | string | No | |
EmailAddress | form | string | No | |
Phone | form | string | No | |
OutstandingBalance | form | double | No | |
OriginalInvoiceBillingAddress1 | form | string | No | |
OriginalInvoiceBillingAddress2 | form | string | No | |
OriginalInvoiceBillingCity | form | string | No | |
OriginalInvoiceBillingState | form | string | No | |
OriginalInvoiceBillingProvince | form | string | No | |
OriginalInvoiceBillingPostalCode | form | string | No | |
OriginalInvoiceBillingCountry | form | string | No | |
OriginalInvoiceBillingPhone | form | string | No | |
OriginalInvoiceNameOnCard | form | string | No | |
OriginalInvoiceCardNumber | form | string | No | |
OriginalInvoiceCardType | form | string | No | |
OriginalInvoiceCardExpMonth | form | string | No | |
OriginalInvoiceCardExpYear | form | string | No | |
OriginalInvoiceComments | form | string | No | |
OriginalInvoiceInternalNotes | form | string | No | |
DateInvoiceLastSent | form | DateTime | No | |
LineItemID | form | int | No | |
LineItemRelatedTo | form | int | No | |
LineItemType | form | string | No | |
LineItemDescription | form | string | No | |
GLCodeItemName | form | string | No | |
QBClassItemName | form | string | No | |
LineItemDate | form | DateTime | No | |
LineItemAmount | form | double | No | |
LineItemQuantity | form | int | No | |
LineTotal | form | double | No | |
LineItemTaxVATRate | form | double | No | |
LineItemNotesVisible | form | string | No | |
LineItemNotesInternal | form | string | No | |
PaymentOption | form | string | No | |
PaymentCheckReferenceNumber | form | string | No | |
PaymentBillingAddress1 | form | string | No | |
PaymentBillingAddress2 | form | string | No | |
PaymentBillingCity | form | string | No | |
PaymentBillingState | form | string | No | |
PaymentBillingProvince | form | string | No | |
PaymentBillingPostalCode | form | string | No | |
PaymentBillingCountry | form | string | No | |
PaymentBillingPhone | form | string | No | |
PaymentNameOnCard | form | string | No | |
PaymentEmailAddress | form | string | No | |
PaymentCardNumber | form | string | No | |
PaymentCardType | form | string | No | |
PaymentCardExpMonth | form | string | No | |
PaymentCardExpYear | form | string | No | |
EnteredBy | form | string | No | |
Account | form | string | No | |
OriginalInvoiceBillingOrganization | form | string | No | |
PaymentBillingOrganization | form | string | No | |
PO | form | string | No | |
WebSiteMemberID | form | int | No | |
ConstituentID | form | string | No | |
PaymentProcessorAccountID | form | int | No | |
PaymentProcessor | form | string | No | |
PaymentProcessorAccountNickname | form | string | No | |
LineItemDateEntered | form | DateTime | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Ams/{ClientID}/FinanceBatchDetails HTTP/1.1 Host: ws.yourmembership.com Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <FinanceBatchDetailsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YM.Web.Services.Ams"> <BypassCache xmlns="http://schemas.datacontract.org/2004/07/YM.Toolkit">false</BypassCache> <ClientID xmlns="http://schemas.datacontract.org/2004/07/YM.Toolkit">0</ClientID> <Device xmlns="http://schemas.datacontract.org/2004/07/YM.Toolkit">Desktop</Device> <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types" xmlns="http://schemas.datacontract.org/2004/07/YM.Toolkit"> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:Message>String</d2p1:Message> <d2p1:StackTrace>String</d2p1:StackTrace> <d2p1:Errors> <d2p1:ResponseError> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:FieldName>String</d2p1:FieldName> <d2p1:Message>String</d2p1:Message> <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>String</d5p1:Key> <d5p1:Value>String</d5p1:Value> </d5p1:KeyValueOfstringstring> </d2p1:Meta> </d2p1:ResponseError> </d2p1:Errors> <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>String</d3p1:Key> <d3p1:Value>String</d3p1:Value> </d3p1:KeyValueOfstringstring> </d2p1:Meta> </ResponseStatus> <BatchId>String</BatchId> <OffSet>0</OffSet> <PageNumber>0</PageNumber> <PageSize>0</PageSize> <FinanceBatchDetailsList> <FinanceBatchDetailData> <Account>String</Account> <Address1>String</Address1> <Address2>String</Address2> <City>String</City> <ConstituentID>String</ConstituentID> <Country>String</Country> <DateInvoiceLastSent>0001-01-01T00:00:00</DateInvoiceLastSent> <EmailAddress>String</EmailAddress> <EnteredBy>String</EnteredBy> <GLCodeItemName>String</GLCodeItemName> <InvoiceNo>0</InvoiceNo> <InvoiceType>String</InvoiceType> <LineItemAmount>0</LineItemAmount> <LineItemDate>0001-01-01T00:00:00</LineItemDate> <LineItemDateEntered>0001-01-01T00:00:00</LineItemDateEntered> <LineItemDescription>String</LineItemDescription> <LineItemID>0</LineItemID> <LineItemNotesInternal>String</LineItemNotesInternal> <LineItemNotesVisible>String</LineItemNotesVisible> <LineItemQuantity>0</LineItemQuantity> <LineItemRelatedTo>0</LineItemRelatedTo> <LineItemTaxVATRate>0</LineItemTaxVATRate> <LineItemType>String</LineItemType> <LineTotal>0</LineTotal> <NameOnInvoiceFirst>String</NameOnInvoiceFirst> <NameOnInvoiceLast>String</NameOnInvoiceLast> <NameOnInvoiceMiddle>String</NameOnInvoiceMiddle> <NameOnInvoiceSuffix>String</NameOnInvoiceSuffix> <Organization>String</Organization> <OriginalInvoiceBillingAddress1>String</OriginalInvoiceBillingAddress1> <OriginalInvoiceBillingAddress2>String</OriginalInvoiceBillingAddress2> <OriginalInvoiceBillingCity>String</OriginalInvoiceBillingCity> <OriginalInvoiceBillingCountry>String</OriginalInvoiceBillingCountry> <OriginalInvoiceBillingOrganization>String</OriginalInvoiceBillingOrganization> <OriginalInvoiceBillingPhone>String</OriginalInvoiceBillingPhone> <OriginalInvoiceBillingPostalCode>String</OriginalInvoiceBillingPostalCode> <OriginalInvoiceBillingProvince>String</OriginalInvoiceBillingProvince> <OriginalInvoiceBillingState>String</OriginalInvoiceBillingState> <OriginalInvoiceCardExpMonth>String</OriginalInvoiceCardExpMonth> <OriginalInvoiceCardExpYear>String</OriginalInvoiceCardExpYear> <OriginalInvoiceCardNumber>String</OriginalInvoiceCardNumber> <OriginalInvoiceCardType>String</OriginalInvoiceCardType> <OriginalInvoiceComments>String</OriginalInvoiceComments> <OriginalInvoiceInternalNotes>String</OriginalInvoiceInternalNotes> <OriginalInvoiceNameOnCard>String</OriginalInvoiceNameOnCard> <OriginalInvoicePaymentOption>String</OriginalInvoicePaymentOption> <OutstandingBalance>0</OutstandingBalance> <PO>String</PO> <PaymentBillingAddress1>String</PaymentBillingAddress1> <PaymentBillingAddress2>String</PaymentBillingAddress2> <PaymentBillingCity>String</PaymentBillingCity> <PaymentBillingCountry>String</PaymentBillingCountry> <PaymentBillingOrganization>String</PaymentBillingOrganization> <PaymentBillingPhone>String</PaymentBillingPhone> <PaymentBillingPostalCode>String</PaymentBillingPostalCode> <PaymentBillingProvince>String</PaymentBillingProvince> <PaymentBillingState>String</PaymentBillingState> <PaymentCardExpMonth>String</PaymentCardExpMonth> <PaymentCardExpYear>String</PaymentCardExpYear> <PaymentCardNumber>String</PaymentCardNumber> <PaymentCardType>String</PaymentCardType> <PaymentCheckReferenceNumber>String</PaymentCheckReferenceNumber> <PaymentEmailAddress>String</PaymentEmailAddress> <PaymentNameOnCard>String</PaymentNameOnCard> <PaymentOption>String</PaymentOption> <PaymentProcessor>String</PaymentProcessor> <PaymentProcessorAccountID>0</PaymentProcessorAccountID> <PaymentProcessorAccountNickname>String</PaymentProcessorAccountNickname> <PaymentTerms>String</PaymentTerms> <Phone>String</Phone> <PostalCode>String</PostalCode> <Province>String</Province> <QBClassItemName>String</QBClassItemName> <State>String</State> <WebSiteMemberID>0</WebSiteMemberID> </FinanceBatchDetailData> </FinanceBatchDetailsList> </FinanceBatchDetailsResponse>