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 .csv suffix or ?format=csv

HTTP + CSV

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/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"}