Trendsic Platform Service

<back to all web services

PmAttentionRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/pm/attention
namespace CRM.AgencyPlatform.API.Internal

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type PmAttentionItem() = 
        member val ProjectUID:String = null with get,set
        member val ProjectName:String = null with get,set
        member val Branch:String = null with get,set
        member val Category:String = null with get,set
        member val Severity:Int32 = new Int32() with get,set
        member val Title:String = null with get,set
        member val Detail:String = null with get,set

    [<AllowNullLiteral>]
    type PmAttentionResponse() = 
        member val Items:ResizeArray<PmAttentionItem> = new ResizeArray<PmAttentionItem>() with get,set
        member val HighCount:Int32 = new Int32() with get,set
        member val MedCount:Int32 = new Int32() with get,set
        member val ResponseStatus:ResponseStatus = null with get,set

    [<AllowNullLiteral>]
    type PmAttentionRequest() = 
        class end

F# PmAttentionRequest 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 /v1/pm/attention HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Items: 
	[
		{
			ProjectUID: String,
			ProjectName: String,
			Branch: String,
			Category: String,
			Severity: 0,
			Title: String,
			Detail: String
		}
	],
	HighCount: 0,
	MedCount: 0,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}