GET | /api/global/projects/{GlobalID} |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class GetProjectDetailsByGlobalID
{
var GlobalID:UUID? = null
}
open class ProjectDetails
{
var ID:Int? = null
var GlobalID:UUID? = null
var Number:String? = null
var Name:String? = null
var Description1:String? = null
var Description2:String? = null
var Active:Boolean? = null
var CorrespondenceInternalCompanyID:Int? = null
var CorrespondenceInternalCompanyName:String? = null
var CorrespondenceInternalCompanyGlobalID:UUID? = null
var Postalcode:String? = null
var City:String? = null
var CountryID:Int? = null
var CountryGlobalID:UUID? = null
var CountryName:String? = null
var GeoLocation:String? = null
var AddressComplete:String? = null
var CategoryID:Int? = null
var CategoryDescription:String? = null
var CategoryGlobalID:UUID? = null
}
Kotlin GetProjectDetailsByGlobalID DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/global/projects/{GlobalID} HTTP/1.1 Host: digiofficeapigateway.deltares.nl Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"ID":0,"GlobalID":"00000000-0000-0000-0000-000000000000","Number":"String","Name":"String","Description1":"String","Description2":"String","Active":false,"CorrespondenceInternalCompanyID":0,"CorrespondenceInternalCompanyName":"String","CorrespondenceInternalCompanyGlobalID":"00000000-0000-0000-0000-000000000000","Postalcode":"String","City":"String","CountryID":0,"CountryGlobalID":"00000000-0000-0000-0000-000000000000","CountryName":"String","GeoLocation":"String","AddressComplete":"String","CategoryID":0,"CategoryDescription":"String","CategoryGlobalID":"00000000-0000-0000-0000-000000000000"}