GET | /directplus/procurement |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class BrowseDirectPlusProcurementData : IGet
{
var VatNumber:String? = null
var Country:String? = null
var DunsNumber:String? = null
}
open class BrowseDirectPlusProcurementDataResponse : ResponseBase()
{
var WorkForceN1:Int? = null
var WorkForceN2:Int? = null
var WorkForceN3:Int? = null
var SubscribedCapital:Double? = null
var SubscribedCapitalCurrencyId:Int? = null
var RevenueN1:Double? = null
var RevenueN2:Double? = null
var RevenueN3:Double? = null
var NetProfitN1:Double? = null
var NetProfitN2:Double? = null
var NetProfitN3:Double? = null
var EquityN1:Double? = null
var EquityN2:Double? = null
var EquityN3:Double? = null
var LiabilityN1:Double? = null
var LiabilityN2:Double? = null
var LiabilityN3:Double? = null
var OperatingResultN1:Double? = null
var OperatingResultN2:Double? = null
var OperatingResultN3:Double? = null
var IndebtednessN1:Double? = null
var IndebtednessN2:Double? = null
var IndebtednessN3:Double? = null
var SalesProportionateProfitN1:Double? = null
var SalesProportionateProfitN2:Double? = null
var SalesProportionateProfitN3:Double? = null
var LiquidityRatioN1:Double? = null
var LiquidityRatioN2:Double? = null
var LiquidityRatioN3:Double? = null
var DBFailureScore:Double? = null
}
open class ResponseBase
{
var ResponseStatus:ResponseStatus? = null
}
Kotlin BrowseDirectPlusProcurementData DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /directplus/procurement HTTP/1.1 Host: szallitoiportal-be.veolia.hu Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { WorkForceN1: 0, WorkForceN2: 0, WorkForceN3: 0, SubscribedCapital: 0, SubscribedCapitalCurrencyId: 0, RevenueN1: 0, RevenueN2: 0, RevenueN3: 0, NetProfitN1: 0, NetProfitN2: 0, NetProfitN3: 0, EquityN1: 0, EquityN2: 0, EquityN3: 0, LiabilityN1: 0, LiabilityN2: 0, LiabilityN3: 0, OperatingResultN1: 0, OperatingResultN2: 0, OperatingResultN3: 0, DBFailureScore: 0, ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } } }