| 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 .jsv suffix or ?format=jsv
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: doapigw.baasbv.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
}