Trendsic Platform Service

<back to all web services

RfiListRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/projects/{ProjectID}/rfis
import Foundation
import ServiceStack

public class RfiListRequest : Codable
{
    public var projectID:Int

    required public init(){}
}

public class RfiListResponse : Codable
{
    public var responseStatus:ResponseStatus
    public var projectID:Int
    public var rfis:[Rfi] = []

    required public init(){}
}

public class Rfi : Codable
{
    public var rfiID:Int
    public var rfiUID:String
    public var projectID:Int
    public var rfiNo:String
    public var subject:String
    public var question:String
    public var answer:String
    public var discipline:String
    public var askedOf:String
    public var status:String
    public var costImpact:Bool
    public var scheduleImpact:Bool
    public var submittedDate:Date?
    public var dueDate:Date?
    public var answeredDate:Date?
    public var closedDate:Date?
    public var promotedChangeOrderID:Int?
    public var createdBy:String
    public var createdAt:Date?
    public var updatedAt:Date?
    public var daysOpen:Int

    required public init(){}
}


Swift RfiListRequest DTOs

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

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/projects/{ProjectID}/rfis HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"ProjectID":0,"Rfis":[{"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}]}