DX STF Client API

<back to all web services

GetReceivingAdviceByDateRange

Receiving Advice Requests

Receiving Advice

Requires Authentication
The following routes are available for this service:
GET/api/receivingAdvice/from/{FromDate}/to/{ToDate}Get Receiving Advice between start and end date
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports DX.STF.Application.ClientApi.Messages.ReceivingAdvice
Imports DX.Framework.Core.Querying

Namespace Global

    Namespace DX.Framework.Core.Querying

        Public Partial Class PagedQueryResult(Of T)
            Public Overridable Property StartIndex As Long
            Public Overridable Property EndIndex As Long
            Public Overridable Property NumberOfRecordsReturned As Integer
            Public Overridable Property TotalNumberOfPages As Integer
            Public Overridable Property TotalNumberOfRecords As Long
            Public Overridable Property Results As List(Of ResultItem(Of ClaimMessage)) = New List(Of ResultItem(Of ClaimMessage))
        End Class
    End Namespace

    Namespace DX.STF.Application.ClientApi.Messages.ReceivingAdvice

        '''<Summary>
        '''Receiving Advice
        '''</Summary>
        <Api(Description:="Receiving Advice")>
        <ApiResponse(Description:="Paged invoice response between start and end date", IsDefaultResponse:=true, StatusCode:=200)>
        Public Partial Class GetReceivingAdviceByDateRange
            '''<Summary>
            '''Requested page number, starting at 1
            '''</Summary>
            <ApiMember(Description:="Requested page number, starting at 1")>
            Public Overridable Property RequestedPage As Integer

            '''<Summary>
            '''Number of records to return on a page
            '''</Summary>
            <ApiMember(Description:="Number of records to return on a page")>
            Public Overridable Property NumberOfRecordsPerPage As Integer

            '''<Summary>
            '''From Date Time
            '''</Summary>
            <ApiMember(Description:="From Date Time", ParameterType:="path")>
            Public Overridable Property FromDate As Date

            '''<Summary>
            '''To Date Time
            '''</Summary>
            <ApiMember(Description:="To Date Time", ParameterType:="path")>
            Public Overridable Property ToDate As Date
        End Class
    End Namespace
End Namespace

VB.NET GetReceivingAdviceByDateRange DTOs

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

HTTP + JSV

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

GET /api/receivingAdvice/from/{FromDate}/to/{ToDate} HTTP/1.1 
Host: stf-api-uat.data-xchange.co.za 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	startIndex: 0,
	endIndex: 0,
	numberOfRecordsReturned: 0,
	totalNumberOfPages: 0,
	totalNumberOfRecords: 0,
	results: 
	[
		{
			
		}
	]
}