MediBuddy Mobile Services V1.1

<back to all web services

BeneficiaryFormDataRequest

The following routes are available for this service:
GET/mobile/forms/data/{FormType}

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/BeneficiaryFormDataRequest HTTP/1.1 
Host: mb-mobile-api.medibuddy.in 
Content-Type: application/xml
Content-Length: length

<BeneficiaryFormDataRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
  <IPAddress xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</IPAddress>
  <MBToken xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</MBToken>
  <MobileDeviceModel xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</MobileDeviceModel>
  <PlatformVer xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</PlatformVer>
  <UserAgent xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</UserAgent>
  <UserPlatform xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</UserPlatform>
  <FormType>String</FormType>
</BeneficiaryFormDataRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<BeneficiaryFormDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
  <Benefs xmlns:d2p1="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO">
    <d2p1:BenefsForForm>
      <d2p1:Age>0</d2p1:Age>
      <d2p1:BenefAlphaCode>String</d2p1:BenefAlphaCode>
      <d2p1:BenefUserId>0</d2p1:BenefUserId>
      <d2p1:EffectiveDate>String</d2p1:EffectiveDate>
      <d2p1:EndDate>String</d2p1:EndDate>
      <d2p1:Gender>String</d2p1:Gender>
      <d2p1:Insurer>String</d2p1:Insurer>
      <d2p1:MAID>0</d2p1:MAID>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:NonEligibleRooms xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:NonEligibleRooms>
      <d2p1:PolicyId>0</d2p1:PolicyId>
      <d2p1:PolicyNo>String</d2p1:PolicyNo>
      <d2p1:Relation>String</d2p1:Relation>
      <d2p1:RelationId>0</d2p1:RelationId>
      <d2p1:RoomCategory>String</d2p1:RoomCategory>
      <d2p1:StartDate>String</d2p1:StartDate>
    </d2p1:BenefsForForm>
  </Benefs>
  <InsuranceCompanies>
    <MasterData>
      <Id>0</Id>
      <Name>String</Name>
      <Value>String</Value>
    </MasterData>
  </InsuranceCompanies>
  <IsTCS>false</IsTCS>
  <Policies>
    <PolicyInsData>
      <Category>String</Category>
      <Id>0</Id>
      <InsuranceId>0</InsuranceId>
      <InsuranceName>String</InsuranceName>
      <InsuranceShortName>String</InsuranceShortName>
      <Name>String</Name>
      <PolNumber>String</PolNumber>
      <PolicyEndDate>String</PolicyEndDate>
      <PolicyStartDate>String</PolicyStartDate>
    </PolicyInsData>
  </Policies>
</BeneficiaryFormDataResponse>