SET.API.Services

<back to all web services

ReferralLegsForClaimantGet

The following routes are available for this service:
GET/Service/FutureReferralsSameServiceGet/{ReferralId}
ReferralLegsForClaimantGet Parameters:
NameParameterData TypeRequiredDescription
ReferralIdpathGuidNo
FutureReferralsSameServiceResponse Parameters:
NameParameterData TypeRequiredDescription
CurrentReferralRatesformResolvedTransportRatesNo
ReferralsformList<ReferralWithSameServiceDto>No
ResolvedTransportRates Parameters:
NameParameterData TypeRequiredDescription
FlatFeeformstringNo
MileageRateformstringNo
WaitRateformstringNo
NoShowformstringNo
LoadFeeformstringNo
MilesformstringNo
HasOwnPromisedRowformboolNo
ReferralWithSameServiceDto Parameters:
NameParameterData TypeRequiredDescription
ReferralNumberformintNo
LinkToReferralformstringNo
ServiceDateformstringNo
ServiceTypeformstringNo
ReferralIdformstringNo
IsExactLegMatchformboolNo
OfferStatusformint?No
OfferStatusDescriptionformstringNo
FlatFeeformstringNo
MileageRateformstringNo
WaitTimeRateformstringNo
WaitTimeFeeformstringNo
MilesformstringNo
LoadFeeformstringNo
HasOwnPromisedRowformboolNo

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 /Service/FutureReferralsSameServiceGet/{ReferralId} HTTP/1.1 
Host: set-api-service-prod.azurewebsites.net 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	CurrentReferralRates: 
	{
		FlatFee: String,
		MileageRate: String,
		WaitRate: String,
		NoShow: String,
		LoadFee: String,
		Miles: String,
		HasOwnPromisedRow: False
	},
	Referrals: 
	[
		{
			ReferralNumber: 0,
			LinkToReferral: String,
			ServiceDate: String,
			ServiceType: String,
			ReferralId: String,
			IsExactLegMatch: False,
			OfferStatus: 0,
			OfferStatusDescription: String,
			FlatFee: String,
			MileageRate: String,
			WaitTimeRate: String,
			WaitTimeFee: String,
			Miles: String,
			LoadFee: String,
			HasOwnPromisedRow: False
		}
	]
}