Trendsic Platform Service

<back to all web services

RfiStatusRequest

Requires Authentication
The following routes are available for this service:
POST,OPTIONS/v1/projects/{ProjectID}/rfis/{RfiID}/status
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 Rfi
            Public Overridable Property RfiID As Integer
            Public Overridable Property RfiUID As Guid
            Public Overridable Property ProjectID As Integer
            Public Overridable Property RfiNo As String
            Public Overridable Property Subject As String
            Public Overridable Property Question As String
            Public Overridable Property Answer As String
            Public Overridable Property Discipline As String
            Public Overridable Property AskedOf As String
            Public Overridable Property Status As String
            Public Overridable Property CostImpact As Boolean
            Public Overridable Property ScheduleImpact As Boolean
            Public Overridable Property SubmittedDate As Date?
            Public Overridable Property DueDate As Date?
            Public Overridable Property AnsweredDate As Date?
            Public Overridable Property ClosedDate As Date?
            Public Overridable Property PromotedChangeOrderID As Integer?
            Public Overridable Property CreatedBy As String
            Public Overridable Property CreatedAt As Date?
            Public Overridable Property UpdatedAt As Date?
            Public Overridable Property DaysOpen As Integer
        End Class

        Public Partial Class RfiResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property Rfi As Rfi
        End Class

        Public Partial Class RfiStatusRequest
            Public Overridable Property ProjectID As Integer
            Public Overridable Property RfiID As Integer
            Public Overridable Property Status As String
        End Class
    End Namespace
End Namespace

VB.NET RfiStatusRequest 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/projects/{ProjectID}/rfis/{RfiID}/status HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ProjectID":0,"RfiID":0,"Status":"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"}},"Rfi":{"RfiID":0,"RfiUID":"00000000000000000000000000000000","ProjectID":0,"RfiNo":"String","Subject":"String","Question":"String","Answer":"String","Discipline":"String","AskedOf":"String","Status":"String","CostImpact":false,"ScheduleImpact":false,"SubmittedDate":"0001-01-01T00:00:00.0000000","DueDate":"0001-01-01T00:00:00.0000000","AnsweredDate":"0001-01-01T00:00:00.0000000","ClosedDate":"0001-01-01T00:00:00.0000000","PromotedChangeOrderID":0,"CreatedBy":"String","CreatedAt":"0001-01-01T00:00:00.0000000","UpdatedAt":"0001-01-01T00:00:00.0000000","DaysOpen":0}}