Trendsic Platform Service

<back to all web services

RfpDiffReportRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/Rfp/DiffReport
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 CountItem() = 
        member val Key:String = null with get,set
        member val Label:String = null with get,set
        member val Count:Int32 = new Int32() with get,set

    [<AllowNullLiteral>]
    type DiffReport() = 
        member val ApprovalCount:Int32 = new Int32() with get,set
        member val TasksAdded:ResizeArray<CountItem> = new ResizeArray<CountItem>() with get,set
        member val TasksRemoved:ResizeArray<CountItem> = new ResizeArray<CountItem>() with get,set
        member val PositionsAdded:ResizeArray<CountItem> = new ResizeArray<CountItem>() with get,set
        member val PositionsRemoved:ResizeArray<CountItem> = new ResizeArray<CountItem>() with get,set
        member val EquipmentAdded:ResizeArray<CountItem> = new ResizeArray<CountItem>() with get,set
        member val EquipmentRemoved:ResizeArray<CountItem> = new ResizeArray<CountItem>() with get,set
        member val MaterialsAdded:ResizeArray<CountItem> = new ResizeArray<CountItem>() with get,set
        member val MaterialsRemoved:ResizeArray<CountItem> = new ResizeArray<CountItem>() with get,set

    [<AllowNullLiteral>]
    type RfpDiffReportResponse() = 
        member val ResponseStatus:ResponseStatus = null with get,set
        member val Report:DiffReport = null with get,set

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

F# RfpDiffReportRequest 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.

GET /v1/Rfp/DiffReport HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
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"}},"Report":{"ApprovalCount":0,"TasksAdded":[{"Key":"String","Label":"String","Count":0}],"TasksRemoved":[{"Key":"String","Label":"String","Count":0}],"PositionsAdded":[{"Key":"String","Label":"String","Count":0}],"PositionsRemoved":[{"Key":"String","Label":"String","Count":0}],"EquipmentAdded":[{"Key":"String","Label":"String","Count":0}],"EquipmentRemoved":[{"Key":"String","Label":"String","Count":0}],"MaterialsAdded":[{"Key":"String","Label":"String","Count":0}],"MaterialsRemoved":[{"Key":"String","Label":"String","Count":0}]}}