Trendsic Platform Service

<back to all web services

ProjectRisksIssuesRequest

Requires Authentication
The following routes are available for this service:
GET,POST,PUT,DELETE,OPTIONS/v1/ProjectRisksIssues/{RiskIssueID}
GET,POST,PUT,DELETE,OPTIONS/v1/ProjectRisksIssues
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal

Namespace Global

    Namespace CRM.AgencyPlatform.API.Internal

        Public Partial Class ProjectRisksIssue
            Public Overridable Property RiskIssueID As Integer
            Public Overridable Property ProjectID As Integer
            Public Overridable Property RiskType As String
            Public Overridable Property Impact As String
            Public Overridable Property Probability As Decimal
            Public Overridable Property ResponsiblePerson As String
            Public Overridable Property RiskStatus As String
            Public Overridable Property MitigationPlan As String
            Public Overridable Property RiskDescription As String
        End Class

        Public Partial Class ProjectRisksIssuesRequest
            Public Overridable Property RiskIssueID As Integer
            Public Overridable Property ProjectRisksIssues As List(Of ProjectRisksIssue) = New List(Of ProjectRisksIssue)
        End Class

        Public Partial Class ProjectRisksIssuesResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property ProjectRisksIssues As List(Of ProjectRisksIssue) = New List(Of ProjectRisksIssue)
        End Class
    End Namespace
End Namespace

VB.NET ProjectRisksIssuesRequest 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.

POST /v1/ProjectRisksIssues/{RiskIssueID} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"RiskIssueID":0,"ProjectRisksIssues":[{"RiskIssueID":0,"ProjectID":0,"RiskType":"String","Impact":"String","Probability":0,"ResponsiblePerson":"String","RiskStatus":"String","MitigationPlan":"String","RiskDescription":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"ProjectRisksIssues":[{"RiskIssueID":0,"ProjectID":0,"RiskType":"String","Impact":"String","Probability":0,"ResponsiblePerson":"String","RiskStatus":"String","MitigationPlan":"String","RiskDescription":"String"}]}