PATCH api/Policy/PartialUpdate

Insert/update policy

Request Information

URI Parameters

None.

Body Parameters

NcPolicyOrQuoteMatch properties

PolicyPartialUpdate
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

Required

Agents

Collection of AgentBusiness

None.

CSRs

Collection of AgentBusiness

None.

Request Formats

application/json, text/json

Sample:
{
  "databaseId": "5fd80466-413c-42f2-9bc6-8de504991867",
  "agents": [
    {
      "databaseId": "18764e0d-b36a-4f12-af3b-6a47c519f833",
      "firstName": "sample string 2",
      "lastName": "sample string 3"
    },
    {
      "databaseId": "18764e0d-b36a-4f12-af3b-6a47c519f833",
      "firstName": "sample string 2",
      "lastName": "sample string 3"
    }
  ],
  "csRs": [
    {
      "databaseId": "18764e0d-b36a-4f12-af3b-6a47c519f833",
      "firstName": "sample string 2",
      "lastName": "sample string 3"
    },
    {
      "databaseId": "18764e0d-b36a-4f12-af3b-6a47c519f833",
      "firstName": "sample string 2",
      "lastName": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<PolicyPartialUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Agents>
    <AgentBusiness>
      <DatabaseId>18764e0d-b36a-4f12-af3b-6a47c519f833</DatabaseId>
      <FirstName>sample string 2</FirstName>
      <LastName>sample string 3</LastName>
    </AgentBusiness>
    <AgentBusiness>
      <DatabaseId>18764e0d-b36a-4f12-af3b-6a47c519f833</DatabaseId>
      <FirstName>sample string 2</FirstName>
      <LastName>sample string 3</LastName>
    </AgentBusiness>
  </Agents>
  <CSRs>
    <AgentBusiness>
      <DatabaseId>18764e0d-b36a-4f12-af3b-6a47c519f833</DatabaseId>
      <FirstName>sample string 2</FirstName>
      <LastName>sample string 3</LastName>
    </AgentBusiness>
    <AgentBusiness>
      <DatabaseId>18764e0d-b36a-4f12-af3b-6a47c519f833</DatabaseId>
      <FirstName>sample string 2</FirstName>
      <LastName>sample string 3</LastName>
    </AgentBusiness>
  </CSRs>
  <DatabaseId>5fd80466-413c-42f2-9bc6-8de504991867</DatabaseId>
</PolicyPartialUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResultWithInsuredAndPoliciesAndQuotesIds
NameDescriptionTypeAdditional information
PoliciesOrQuotes

Collection of NowCertsApiResultWithPoliciesAndQuotesIds

None.

InsuredDatabaseId

globally unique identifier

None.

Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "policiesOrQuotes": [
    {
      "policyOrQuoteId": "4ec57c8a-c193-4c9f-85ea-8a5aa643ed18",
      "isQuote": true,
      "objectURL": "sample string 3",
      "status": 0,
      "message": "sample string 4"
    },
    {
      "policyOrQuoteId": "4ec57c8a-c193-4c9f-85ea-8a5aa643ed18",
      "isQuote": true,
      "objectURL": "sample string 3",
      "status": 0,
      "message": "sample string 4"
    }
  ],
  "insuredDatabaseId": "d3385c63-9a90-4a8d-b0ec-7f7683c8f44f",
  "status": 0,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<NowCertsApiResultWithInsuredAndPoliciesAndQuotesIds xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Message>sample string 2</Message>
  <Status>Error</Status>
  <InsuredDatabaseId>d3385c63-9a90-4a8d-b0ec-7f7683c8f44f</InsuredDatabaseId>
  <PoliciesOrQuotes>
    <NowCertsApiResultWithPoliciesAndQuotesIds>
      <Message>sample string 4</Message>
      <Status>Error</Status>
      <IsQuote>true</IsQuote>
      <PolicyOrQuoteId>4ec57c8a-c193-4c9f-85ea-8a5aa643ed18</PolicyOrQuoteId>
      <objectURL>sample string 3</objectURL>
    </NowCertsApiResultWithPoliciesAndQuotesIds>
    <NowCertsApiResultWithPoliciesAndQuotesIds>
      <Message>sample string 4</Message>
      <Status>Error</Status>
      <IsQuote>true</IsQuote>
      <PolicyOrQuoteId>4ec57c8a-c193-4c9f-85ea-8a5aa643ed18</PolicyOrQuoteId>
      <objectURL>sample string 3</objectURL>
    </NowCertsApiResultWithPoliciesAndQuotesIds>
  </PoliciesOrQuotes>
</NowCertsApiResultWithInsuredAndPoliciesAndQuotesIds>