MediBuddy Mobile Services V1.1

<back to all web services

AgentsExternalPolicyCreateRequest

The following routes are available for this service:
POST/policy/addexternalpolicy/

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

HTTP + XML

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

POST /xml/reply/AgentsExternalPolicyCreateRequest HTTP/1.1 
Host: mb-mobile-api.medibuddy.in 
Content-Type: application/xml
Content-Length: length

<AgentsExternalPolicyCreateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
  <PolicyHeaders xmlns:d2p1="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO">
    <d2p1:AgentPolicyDetails>
      <d2p1:AgentCode>String</d2p1:AgentCode>
      <d2p1:DBType>String</d2p1:DBType>
      <d2p1:ExternalRemarks>String</d2p1:ExternalRemarks>
      <d2p1:InsuranceCompany>String</d2p1:InsuranceCompany>
      <d2p1:InsurerId>0</d2p1:InsurerId>
      <d2p1:IsDeleted>false</d2p1:IsDeleted>
      <d2p1:IsExternalPolicy>false</d2p1:IsExternalPolicy>
      <d2p1:PolicyEndDate>String</d2p1:PolicyEndDate>
      <d2p1:PolicyEndDateString>String</d2p1:PolicyEndDateString>
      <d2p1:PolicyHolder>String</d2p1:PolicyHolder>
      <d2p1:PolicyHolderContact>String</d2p1:PolicyHolderContact>
      <d2p1:PolicyHolderEmail>String</d2p1:PolicyHolderEmail>
      <d2p1:PolicyHolderMAID>0</d2p1:PolicyHolderMAID>
      <d2p1:PolicyId>0</d2p1:PolicyId>
      <d2p1:PolicyNumber>String</d2p1:PolicyNumber>
      <d2p1:PolicyStartDate>String</d2p1:PolicyStartDate>
      <d2p1:PolicyStartDateString>String</d2p1:PolicyStartDateString>
      <d2p1:PriBenefId>0</d2p1:PriBenefId>
      <d2p1:SumInsured>0</d2p1:SumInsured>
      <d2p1:TPAName>String</d2p1:TPAName>
    </d2p1:AgentPolicyDetails>
  </PolicyHeaders>
  <UserName>String</UserName>
</AgentsExternalPolicyCreateRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AgentsExternalPolicyCreateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
  <Created>false</Created>
</AgentsExternalPolicyCreateResponse>