Billhighway Cloud API

<back to all web services

ClientMappingsByTypeAndTargetRq

The following routes are available for this service:
GET/api/client/mappings/type/{typeDesc}/target/{target}
import java.math.*
import java.util.*
import net.servicestack.client.*


open class ClientMappingsByTypeAndTargetRq : IApiRequest
{
    var TypeDesc:String? = null
    var Target:String? = null
}

open class ClientMappingsRs : IApiResponse
{
    var ClientMappings:ArrayList<ClientMap> = ArrayList<ClientMap>()
}

open class ClientMap
{
    var ClientMapID:Long? = null
    var TheirVal:String? = null
    var OurVal:String? = null
    var KeyTypeID:Int? = null
    var KeyTypeDesc:String? = null
    var TypeID:Int? = null
    var TypeDesc:String? = null
    var KeyValue:Int? = null
    var MapTarget:String? = null
}

Kotlin ClientMappingsByTypeAndTargetRq 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/client/mappings/type/{typeDesc}/target/{target} HTTP/1.1 
Host: devapi.billhighway.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ClientMappings: 
	[
		{
			ClientMapID: 0,
			TheirVal: String,
			OurVal: String,
			KeyTypeID: 0,
			KeyTypeDesc: String,
			TypeID: 0,
			TypeDesc: String,
			KeyValue: 0,
			MapTarget: String
		}
	]
}