| Requires any of the roles: | Agent, Administrator, Agent, Administrator, Agent, Administrator |
| GET, POST, PUT,OPTIONS | /v1/PolicyDocumentStatus/ |
|---|
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 PolicyDocumentStatus() =
member val Id:Int32 = new Int32() with get,set
member val Name:String = null with get,set
member val IsNBCStatus:Boolean = new Boolean() with get,set
member val IsAgentStatus:Boolean = new Boolean() with get,set
[<AllowNullLiteral>]
type PolicyDocumentStatusResponse() =
member val ResponseStatus:ResponseStatus = null with get,set
member val PolicyDocumentStatus:ResizeArray<PolicyDocumentStatus> = new ResizeArray<PolicyDocumentStatus>() with get,set
[<AllowNullLiteral>]
type PolicyDocumentStatusRequest() =
member val PolicyDocumentStatus:PolicyDocumentStatus = null with get,set
F# PolicyDocumentStatusRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/PolicyDocumentStatus/ HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"PolicyDocumentStatus":{"Id":0,"Name":"String","IsNBCStatus":false,"IsAgentStatus":false}}
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"}},"PolicyDocumentStatus":[{"Id":0,"Name":"String","IsNBCStatus":false,"IsAgentStatus":false}]}