Trendsic Platform Service

<back to all web services

PolicyRequiredDocumentRequest

Requires Authentication
Requires any of the roles:Agent, Administrator, Agent, Administrator, Agent, Administrator, Agent, Administrator
The following routes are available for this service:
PUT,DELETE,OPTIONS/v1/PolicyRequiredDocument/{Id}
POST,OPTIONS/v1/PolicyRequiredDocument
GET/v1/PolicyRequiredDocument/GetAllByPolicyAssociateId/{PolicyAssociateId}
PolicyRequiredDocumentRequest Parameters:
NameParameterData TypeRequiredDescription
PolicyRequiredDocumentbodyPolicyRequiredDocumentExtendedNo
PolicyAssociateIdpathGuid?No
Idpathint?No
PolicyRequiredDocumentExtended Parameters:
NameParameterData TypeRequiredDescription
RemindersformList<PolicyDocumentReminder>No
AgentRemindersformList<ReminderExtended>No
PolicyRequiredDocument Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
PolicyAssociateIdformGuidNo
PolicyDocumentIdformintNo
NBCStatusIdformintNo
AgentStatusIdformintNo
StatusOptionsformList<PolicyDocumentStatus>No
PolicyDocumentStatus Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
IsNBCStatusformboolNo
IsAgentStatusformboolNo
PolicyDocumentReminder Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
PolicyDocumentIdformintNo
ReminderForformstringNo
ReminderLeadTimeformintNo
ReminderMessageformstringNo
AdminAgentIdformintNo
NeedsPromptformboolNo
ReminderExtended Parameters:
NameParameterData TypeRequiredDescription
AgentNameformstringNo
RecordAgentNameformstringNo
RecordAgentIDformintNo
IsAdminformboolNo
AgentIDformintNo
Reminder Parameters:
NameParameterData TypeRequiredDescription
ReminderIdformGuidNo
TableNameformstringNo
FieldNameformstringNo
RecordIdformintNo
ReminderDateformDateTimeNo
ReminderNoteformstringNo
CreatedDateformDateTimeNo
CreatedByformstringNo
CompletedDateformDateTimeNo
PolicyRequiredDocumentResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
PolicyRequiredDocumentsformList<PolicyRequiredDocumentExtended>No

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /v1/PolicyRequiredDocument HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"PolicyRequiredDocument":{"Reminders":[{"Id":0,"PolicyDocumentId":0,"ReminderFor":"String","ReminderLeadTime":0,"ReminderMessage":"String","AdminAgentId":0,"NeedsPrompt":false}],"AgentReminders":[{"AgentName":"String","RecordAgentName":"String","RecordAgentID":0,"IsAdmin":false,"AgentID":0,"ReminderId":"00000000000000000000000000000000","TableName":"String","FieldName":"String","RecordId":0,"ReminderDate":"0001-01-01T00:00:00.0000000","ReminderNote":"String","CreatedDate":"0001-01-01T00:00:00.0000000","CreatedBy":"String","CompletedDate":"0001-01-01T00:00:00.0000000"}],"Id":0,"PolicyAssociateId":"00000000000000000000000000000000","PolicyDocumentId":0,"NBCStatusId":0,"AgentStatusId":0,"StatusOptions":[{"Id":0,"Name":"String","IsNBCStatus":false,"IsAgentStatus":false}]},"PolicyAssociateId":"00000000000000000000000000000000","Id":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"PolicyRequiredDocuments":[{"Reminders":[{"Id":0,"PolicyDocumentId":0,"ReminderFor":"String","ReminderLeadTime":0,"ReminderMessage":"String","AdminAgentId":0,"NeedsPrompt":false}],"AgentReminders":[{"AgentName":"String","RecordAgentName":"String","RecordAgentID":0,"IsAdmin":false,"AgentID":0,"ReminderId":"00000000000000000000000000000000","TableName":"String","FieldName":"String","RecordId":0,"ReminderDate":"0001-01-01T00:00:00.0000000","ReminderNote":"String","CreatedDate":"0001-01-01T00:00:00.0000000","CreatedBy":"String","CompletedDate":"0001-01-01T00:00:00.0000000"}],"Id":0,"PolicyAssociateId":"00000000000000000000000000000000","PolicyDocumentId":0,"NBCStatusId":0,"AgentStatusId":0,"StatusOptions":[{"Id":0,"Name":"String","IsNBCStatus":false,"IsAgentStatus":false}]}]}