JiwaAPI

<back to all web services

SO_PaymentsQuery

Requires Authentication
SO_PaymentsQuery Parameters:
NameParameterData TypeRequiredDescription
PaymentIDquerystringNo
PaymentIDStartsWithquerystringNo
PaymentIDEndsWithquerystringNo
PaymentIDContainsquerystringNo
PaymentIDLikequerystringNo
PaymentIDBetweenquerystring[]No
PaymentIDInquerystring[]No
InvoiceHistoryIDquerystringNo
InvoiceHistoryIDStartsWithquerystringNo
InvoiceHistoryIDEndsWithquerystringNo
InvoiceHistoryIDContainsquerystringNo
InvoiceHistoryIDLikequerystringNo
InvoiceHistoryIDBetweenquerystring[]No
InvoiceHistoryIDInquerystring[]No
InvoiceIDquerystringNo
InvoiceIDStartsWithquerystringNo
InvoiceIDEndsWithquerystringNo
InvoiceIDContainsquerystringNo
InvoiceIDLikequerystringNo
InvoiceIDBetweenquerystring[]No
InvoiceIDInquerystring[]No
PaymentTypeIDquerystringNo
PaymentTypeIDStartsWithquerystringNo
PaymentTypeIDEndsWithquerystringNo
PaymentTypeIDContainsquerystringNo
PaymentTypeIDLikequerystringNo
PaymentTypeIDBetweenquerystring[]No
PaymentTypeIDInquerystring[]No
PaymentRefquerystringNo
PaymentRefStartsWithquerystringNo
PaymentRefEndsWithquerystringNo
PaymentRefContainsquerystringNo
PaymentRefLikequerystringNo
PaymentRefBetweenquerystring[]No
PaymentRefInquerystring[]No
AmountPaidquerydecimal?No
AmountPaidGreaterThanOrEqualToquerydecimal?No
AmountPaidGreaterThanquerydecimal?No
AmountPaidLessThanquerydecimal?No
AmountPaidLessThanOrEqualToquerydecimal?No
AmountPaidNotEqualToquerydecimal?No
AmountPaidBetweenqueryNullable<Decimal>[]No
AmountPaidInqueryNullable<Decimal>[]No
PaymentDatequeryDateTime?No
PaymentDateGreaterThanOrEqualToqueryDateTime?No
PaymentDateGreaterThanqueryDateTime?No
PaymentDateLessThanqueryDateTime?No
PaymentDateLessThanOrEqualToqueryDateTime?No
PaymentDateNotEqualToqueryDateTime?No
PaymentDateBetweenqueryDateTime[]No
PaymentDateInqueryDateTime[]No
AuthorisationStatusqueryshort?No
AuthorisationStatusGreaterThanOrEqualToqueryshort?No
AuthorisationStatusGreaterThanqueryshort?No
AuthorisationStatusLessThanqueryshort?No
AuthorisationStatusLessThanOrEqualToqueryshort?No
AuthorisationStatusNotEqualToqueryshort?No
AuthorisationStatusBetweenqueryshort[]No
AuthorisationStatusInqueryshort[]No
AuthorisationNumberquerystringNo
AuthorisationNumberStartsWithquerystringNo
AuthorisationNumberEndsWithquerystringNo
AuthorisationNumberContainsquerystringNo
AuthorisationNumberLikequerystringNo
AuthorisationNumberBetweenquerystring[]No
AuthorisationNumberInquerystring[]No
ProcessPaymentquerybool?No
Processedquerybool?No
DBTransIDquerystringNo
DBTransIDStartsWithquerystringNo
DBTransIDEndsWithquerystringNo
DBTransIDContainsquerystringNo
DBTransIDLikequerystringNo
DBTransIDBetweenquerystring[]No
DBTransIDInquerystring[]No
PaymentGatewayReturnCodequeryint?No
PaymentGatewayReturnCodeGreaterThanOrEqualToqueryint?No
PaymentGatewayReturnCodeGreaterThanqueryint?No
PaymentGatewayReturnCodeLessThanqueryint?No
PaymentGatewayReturnCodeLessThanOrEqualToqueryint?No
PaymentGatewayReturnCodeNotEqualToqueryint?No
PaymentGatewayReturnCodeBetweenqueryNullable<Int32>[]No
PaymentGatewayReturnCodeInqueryNullable<Int32>[]No
PaymentGatewayReturnMessagequerystringNo
PaymentGatewayReturnMessageStartsWithquerystringNo
PaymentGatewayReturnMessageEndsWithquerystringNo
PaymentGatewayReturnMessageContainsquerystringNo
PaymentGatewayReturnMessageLikequerystringNo
PaymentGatewayReturnMessageBetweenquerystring[]No
PaymentGatewayReturnMessageInquerystring[]No
AmountTenderedquerydecimal?No
AmountTenderedGreaterThanOrEqualToquerydecimal?No
AmountTenderedGreaterThanquerydecimal?No
AmountTenderedLessThanquerydecimal?No
AmountTenderedLessThanOrEqualToquerydecimal?No
AmountTenderedNotEqualToquerydecimal?No
AmountTenderedBetweenqueryNullable<Decimal>[]No
AmountTenderedInqueryNullable<Decimal>[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
SO_Payments Parameters:
NameParameterData TypeRequiredDescription
PaymentIDformstringNo
InvoiceHistoryIDformstringNo
InvoiceIDformstringNo
PaymentTypeIDformstringNo
PaymentRefformstringNo
AmountPaidformdecimal?No
PaymentDateformDateTimeNo
AuthorisationStatusformshortNo
AuthorisationNumberformstringNo
ProcessPaymentformboolNo
ProcessedformboolNo
DBTransIDformstringNo
PaymentGatewayReturnCodeformint?No
PaymentGatewayReturnMessageformstringNo
AmountTenderedformdecimal?No
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/SO_PaymentsQuery HTTP/1.1 
Host: api.jiwa.com.au 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<SO_PaymentsQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.Tables">
  <Fields xmlns="http://schemas.servicestack.net/types">String</Fields>
  <Include xmlns="http://schemas.servicestack.net/types">String</Include>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <OrderBy xmlns="http://schemas.servicestack.net/types">String</OrderBy>
  <OrderByDesc xmlns="http://schemas.servicestack.net/types">String</OrderByDesc>
  <Skip xmlns="http://schemas.servicestack.net/types">0</Skip>
  <Take xmlns="http://schemas.servicestack.net/types">0</Take>
  <AmountPaid>0</AmountPaid>
  <AmountPaidBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </AmountPaidBetween>
  <AmountPaidGreaterThan>0</AmountPaidGreaterThan>
  <AmountPaidGreaterThanOrEqualTo>0</AmountPaidGreaterThanOrEqualTo>
  <AmountPaidIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </AmountPaidIn>
  <AmountPaidLessThan>0</AmountPaidLessThan>
  <AmountPaidLessThanOrEqualTo>0</AmountPaidLessThanOrEqualTo>
  <AmountPaidNotEqualTo>0</AmountPaidNotEqualTo>
  <AmountTendered>0</AmountTendered>
  <AmountTenderedBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </AmountTenderedBetween>
  <AmountTenderedGreaterThan>0</AmountTenderedGreaterThan>
  <AmountTenderedGreaterThanOrEqualTo>0</AmountTenderedGreaterThanOrEqualTo>
  <AmountTenderedIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>0</d2p1:decimal>
  </AmountTenderedIn>
  <AmountTenderedLessThan>0</AmountTenderedLessThan>
  <AmountTenderedLessThanOrEqualTo>0</AmountTenderedLessThanOrEqualTo>
  <AmountTenderedNotEqualTo>0</AmountTenderedNotEqualTo>
  <AuthorisationNumber>String</AuthorisationNumber>
  <AuthorisationNumberBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </AuthorisationNumberBetween>
  <AuthorisationNumberContains>String</AuthorisationNumberContains>
  <AuthorisationNumberEndsWith>String</AuthorisationNumberEndsWith>
  <AuthorisationNumberIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </AuthorisationNumberIn>
  <AuthorisationNumberLike>String</AuthorisationNumberLike>
  <AuthorisationNumberStartsWith>String</AuthorisationNumberStartsWith>
  <AuthorisationStatus>0</AuthorisationStatus>
  <AuthorisationStatusBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:short>0</d2p1:short>
  </AuthorisationStatusBetween>
  <AuthorisationStatusGreaterThan>0</AuthorisationStatusGreaterThan>
  <AuthorisationStatusGreaterThanOrEqualTo>0</AuthorisationStatusGreaterThanOrEqualTo>
  <AuthorisationStatusIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:short>0</d2p1:short>
  </AuthorisationStatusIn>
  <AuthorisationStatusLessThan>0</AuthorisationStatusLessThan>
  <AuthorisationStatusLessThanOrEqualTo>0</AuthorisationStatusLessThanOrEqualTo>
  <AuthorisationStatusNotEqualTo>0</AuthorisationStatusNotEqualTo>
  <DBTransID>String</DBTransID>
  <DBTransIDBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </DBTransIDBetween>
  <DBTransIDContains>String</DBTransIDContains>
  <DBTransIDEndsWith>String</DBTransIDEndsWith>
  <DBTransIDIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </DBTransIDIn>
  <DBTransIDLike>String</DBTransIDLike>
  <DBTransIDStartsWith>String</DBTransIDStartsWith>
  <InvoiceHistoryID>String</InvoiceHistoryID>
  <InvoiceHistoryIDBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </InvoiceHistoryIDBetween>
  <InvoiceHistoryIDContains>String</InvoiceHistoryIDContains>
  <InvoiceHistoryIDEndsWith>String</InvoiceHistoryIDEndsWith>
  <InvoiceHistoryIDIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </InvoiceHistoryIDIn>
  <InvoiceHistoryIDLike>String</InvoiceHistoryIDLike>
  <InvoiceHistoryIDStartsWith>String</InvoiceHistoryIDStartsWith>
  <InvoiceID>String</InvoiceID>
  <InvoiceIDBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </InvoiceIDBetween>
  <InvoiceIDContains>String</InvoiceIDContains>
  <InvoiceIDEndsWith>String</InvoiceIDEndsWith>
  <InvoiceIDIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </InvoiceIDIn>
  <InvoiceIDLike>String</InvoiceIDLike>
  <InvoiceIDStartsWith>String</InvoiceIDStartsWith>
  <PaymentDate>0001-01-01T00:00:00</PaymentDate>
  <PaymentDateBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:dateTime>0001-01-01T00:00:00</d2p1:dateTime>
  </PaymentDateBetween>
  <PaymentDateGreaterThan>0001-01-01T00:00:00</PaymentDateGreaterThan>
  <PaymentDateGreaterThanOrEqualTo>0001-01-01T00:00:00</PaymentDateGreaterThanOrEqualTo>
  <PaymentDateIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:dateTime>0001-01-01T00:00:00</d2p1:dateTime>
  </PaymentDateIn>
  <PaymentDateLessThan>0001-01-01T00:00:00</PaymentDateLessThan>
  <PaymentDateLessThanOrEqualTo>0001-01-01T00:00:00</PaymentDateLessThanOrEqualTo>
  <PaymentDateNotEqualTo>0001-01-01T00:00:00</PaymentDateNotEqualTo>
  <PaymentGatewayReturnCode>0</PaymentGatewayReturnCode>
  <PaymentGatewayReturnCodeBetween xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>0</d2p1:int>
  </PaymentGatewayReturnCodeBetween>
  <PaymentGatewayReturnCodeGreaterThan>0</PaymentGatewayReturnCodeGreaterThan>
  <PaymentGatewayReturnCodeGreaterThanOrEqualTo>0</PaymentGatewayReturnCodeGreaterThanOrEqualTo>
  <PaymentGatewayReturnCodeIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>0</d2p1:int>
  </PaymentGatewayReturnCodeIn>
  <PaymentGatewayReturnCodeLessThan>0</PaymentGatewayReturnCodeLessThan>
  <PaymentGatewayReturnCodeLessThanOrEqualTo>0</PaymentGatewayReturnCodeLessThanOrEqualTo>
  <PaymentGatewayReturnCodeNotEqualTo>0</PaymentGatewayReturnCodeNotEqualTo>
  <PaymentGatewayReturnMessage>String</PaymentGatewayReturnMessage>
  <PaymentGatewayReturnMessageBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </PaymentGatewayReturnMessageBetween>
  <PaymentGatewayReturnMessageContains>String</PaymentGatewayReturnMessageContains>
  <PaymentGatewayReturnMessageEndsWith>String</PaymentGatewayReturnMessageEndsWith>
  <PaymentGatewayReturnMessageIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </PaymentGatewayReturnMessageIn>
  <PaymentGatewayReturnMessageLike>String</PaymentGatewayReturnMessageLike>
  <PaymentGatewayReturnMessageStartsWith>String</PaymentGatewayReturnMessageStartsWith>
  <PaymentID>String</PaymentID>
  <PaymentIDBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </PaymentIDBetween>
  <PaymentIDContains>String</PaymentIDContains>
  <PaymentIDEndsWith>String</PaymentIDEndsWith>
  <PaymentIDIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </PaymentIDIn>
  <PaymentIDLike>String</PaymentIDLike>
  <PaymentIDStartsWith>String</PaymentIDStartsWith>
  <PaymentRef>String</PaymentRef>
  <PaymentRefBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </PaymentRefBetween>
  <PaymentRefContains>String</PaymentRefContains>
  <PaymentRefEndsWith>String</PaymentRefEndsWith>
  <PaymentRefIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </PaymentRefIn>
  <PaymentRefLike>String</PaymentRefLike>
  <PaymentRefStartsWith>String</PaymentRefStartsWith>
  <PaymentTypeID>String</PaymentTypeID>
  <PaymentTypeIDBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </PaymentTypeIDBetween>
  <PaymentTypeIDContains>String</PaymentTypeIDContains>
  <PaymentTypeIDEndsWith>String</PaymentTypeIDEndsWith>
  <PaymentTypeIDIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </PaymentTypeIDIn>
  <PaymentTypeIDLike>String</PaymentTypeIDLike>
  <PaymentTypeIDStartsWith>String</PaymentTypeIDStartsWith>
  <ProcessPayment>false</ProcessPayment>
  <Processed>false</Processed>
</SO_PaymentsQuery>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<QueryResponseOfSO_Payments7kRqkrSv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Offset>0</Offset>
  <Total>0</Total>
  <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.Tables">
    <d2p1:SO_Payments>
      <d2p1:_x003C_AmountPaid_x003E_k__BackingField>0</d2p1:_x003C_AmountPaid_x003E_k__BackingField>
      <d2p1:_x003C_AmountTendered_x003E_k__BackingField>0</d2p1:_x003C_AmountTendered_x003E_k__BackingField>
      <d2p1:_x003C_AuthorisationNumber_x003E_k__BackingField>String</d2p1:_x003C_AuthorisationNumber_x003E_k__BackingField>
      <d2p1:_x003C_AuthorisationStatus_x003E_k__BackingField>0</d2p1:_x003C_AuthorisationStatus_x003E_k__BackingField>
      <d2p1:_x003C_DBTransID_x003E_k__BackingField>String</d2p1:_x003C_DBTransID_x003E_k__BackingField>
      <d2p1:_x003C_InvoiceHistoryID_x003E_k__BackingField>String</d2p1:_x003C_InvoiceHistoryID_x003E_k__BackingField>
      <d2p1:_x003C_InvoiceID_x003E_k__BackingField>String</d2p1:_x003C_InvoiceID_x003E_k__BackingField>
      <d2p1:_x003C_PaymentDate_x003E_k__BackingField>0001-01-01T00:00:00</d2p1:_x003C_PaymentDate_x003E_k__BackingField>
      <d2p1:_x003C_PaymentGatewayReturnCode_x003E_k__BackingField>0</d2p1:_x003C_PaymentGatewayReturnCode_x003E_k__BackingField>
      <d2p1:_x003C_PaymentGatewayReturnMessage_x003E_k__BackingField>String</d2p1:_x003C_PaymentGatewayReturnMessage_x003E_k__BackingField>
      <d2p1:_x003C_PaymentID_x003E_k__BackingField>String</d2p1:_x003C_PaymentID_x003E_k__BackingField>
      <d2p1:_x003C_PaymentRef_x003E_k__BackingField>String</d2p1:_x003C_PaymentRef_x003E_k__BackingField>
      <d2p1:_x003C_PaymentTypeID_x003E_k__BackingField>String</d2p1:_x003C_PaymentTypeID_x003E_k__BackingField>
      <d2p1:_x003C_ProcessPayment_x003E_k__BackingField>false</d2p1:_x003C_ProcessPayment_x003E_k__BackingField>
      <d2p1:_x003C_Processed_x003E_k__BackingField>false</d2p1:_x003C_Processed_x003E_k__BackingField>
    </d2p1:SO_Payments>
  </Results>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <ResponseStatus>
    <ErrorCode>String</ErrorCode>
    <Message>String</Message>
    <StackTrace>String</StackTrace>
    <Errors>
      <ResponseError>
        <ErrorCode>String</ErrorCode>
        <FieldName>String</FieldName>
        <Message>String</Message>
        <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>
        </Meta>
      </ResponseError>
    </Errors>
    <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>
    </Meta>
  </ResponseStatus>
</QueryResponseOfSO_Payments7kRqkrSv>