DigiOffice API Services Services

<back to all web services

GetProjectDetails

Requires Authentication
The following routes are available for this service:
GET/api/projects/{ID}
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class GetProjectDetails
{
    open var ID:Int? = null
}

open class ProjectDetails
{
    open var ID:Int? = null
    open var GlobalID:UUID? = null
    open var Number:String? = null
    open var Name:String? = null
    open var Description1:String? = null
    open var Description2:String? = null
    open var Active:Boolean? = null
    open var CorrespondenceInternalCompanyID:Int? = null
    open var CorrespondenceInternalCompanyName:String? = null
    open var CorrespondenceInternalCompanyGlobalID:UUID? = null
    open var Postalcode:String? = null
    open var City:String? = null
    open var CountryID:Int? = null
    open var CountryGlobalID:UUID? = null
    open var CountryName:String? = null
    open var GeoLocation:String? = null
    open var AddressComplete:String? = null
    open var CategoryID:Int? = null
    open var CategoryDescription:String? = null
    open var CategoryGlobalID:UUID? = null
}

Kotlin GetProjectDetails 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/projects/{ID} HTTP/1.1 
Host: test-do-services.klokgroep.nl 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ID: 0,
	Number: String,
	Name: String,
	Description1: String,
	Description2: String,
	Active: False,
	CorrespondenceInternalCompanyID: 0,
	CorrespondenceInternalCompanyName: String,
	Postalcode: String,
	City: String,
	CountryID: 0,
	CountryName: String,
	GeoLocation: String,
	AddressComplete: String,
	CategoryID: 0,
	CategoryDescription: String
}