DigiOffice Gateway Web Services

<back to all web services

GetProjectDetailsByGlobalID

Requires Authentication
The following routes are available for this service:
GET/api/global/projects/{GlobalID}
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using IDB.API.DTO.Project.Operations;
using IDB.API.DTO.Project;

namespace IDB.API.DTO.Project
{
    public partial class ProjectDetails
    {
        public virtual int ID { get; set; }
        public virtual Guid GlobalID { get; set; }
        public virtual string Number { get; set; }
        public virtual string Name { get; set; }
        public virtual string Description1 { get; set; }
        public virtual string Description2 { get; set; }
        public virtual bool Active { get; set; }
        public virtual int CorrespondenceInternalCompanyID { get; set; }
        public virtual string CorrespondenceInternalCompanyName { get; set; }
        public virtual Guid CorrespondenceInternalCompanyGlobalID { get; set; }
        public virtual string Postalcode { get; set; }
        public virtual string City { get; set; }
        public virtual int CountryID { get; set; }
        public virtual Guid CountryGlobalID { get; set; }
        public virtual string CountryName { get; set; }
        public virtual string GeoLocation { get; set; }
        public virtual string AddressComplete { get; set; }
        public virtual int CategoryID { get; set; }
        public virtual string CategoryDescription { get; set; }
        public virtual Guid CategoryGlobalID { get; set; }
    }

}

namespace IDB.API.DTO.Project.Operations
{
    public partial class GetProjectDetailsByGlobalID
    {
        public virtual Guid GlobalID { get; set; }
    }

}

C# GetProjectDetailsByGlobalID DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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"}