POST api/Master/FetchPreferedService

Request Information

URI Parameters

None.

Body Parameters

FetchPreferedService
NameDescriptionTypeAdditional information
ROL_POL_ID

integer

None.

ROL_POD_ID

integer

None.

ROL_LEG

integer

None.

ROL_VALID_FROM

date

None.

ROL_VALID_TILL

date

None.

ROL_PROGRAM_ID

string

None.

ROL_CREATED_BY

integer

None.

ROL_SRV_DETAILS

Collection of ROU_SRV_DETAILS

None.

Request Formats

application/json, text/json

Sample:
{
  "ROL_POL_ID": 1,
  "ROL_POD_ID": 1,
  "ROL_LEG": 1,
  "ROL_VALID_FROM": "2024-05-19T16:49:55.423227+05:30",
  "ROL_VALID_TILL": "2024-05-19T16:49:55.423227+05:30",
  "ROL_PROGRAM_ID": "sample string 1",
  "ROL_CREATED_BY": 1,
  "ROL_SRV_DETAILS": [
    {
      "RLS_ID": 1,
      "RLS_ROU_ID": 1,
      "RLS_LEG_NUM": 1,
      "RLS_SLC_ID": 1,
      "RLS_ALLOWED": true,
      "RLS_PREFERED": true,
      "RLS_PRIORITY": 1
    },
    {
      "RLS_ID": 1,
      "RLS_ROU_ID": 1,
      "RLS_LEG_NUM": 1,
      "RLS_SLC_ID": 1,
      "RLS_ALLOWED": true,
      "RLS_PREFERED": true,
      "RLS_PRIORITY": 1
    }
  ]
}

application/xml, text/xml

Sample:
<FetchPreferedService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <ROL_CREATED_BY>1</ROL_CREATED_BY>
  <ROL_LEG>1</ROL_LEG>
  <ROL_POD_ID>1</ROL_POD_ID>
  <ROL_POL_ID>1</ROL_POL_ID>
  <ROL_PROGRAM_ID>sample string 1</ROL_PROGRAM_ID>
  <ROL_SRV_DETAILS>
    <ROU_SRV_DETAILS>
      <RLS_ALLOWED>true</RLS_ALLOWED>
      <RLS_ID>1</RLS_ID>
      <RLS_LEG_NUM>1</RLS_LEG_NUM>
      <RLS_PREFERED>true</RLS_PREFERED>
      <RLS_PRIORITY>1</RLS_PRIORITY>
      <RLS_ROU_ID>1</RLS_ROU_ID>
      <RLS_SLC_ID>1</RLS_SLC_ID>
    </ROU_SRV_DETAILS>
    <ROU_SRV_DETAILS>
      <RLS_ALLOWED>true</RLS_ALLOWED>
      <RLS_ID>1</RLS_ID>
      <RLS_LEG_NUM>1</RLS_LEG_NUM>
      <RLS_PREFERED>true</RLS_PREFERED>
      <RLS_PRIORITY>1</RLS_PRIORITY>
      <RLS_ROU_ID>1</RLS_ROU_ID>
      <RLS_SLC_ID>1</RLS_SLC_ID>
    </ROU_SRV_DETAILS>
  </ROL_SRV_DETAILS>
  <ROL_VALID_FROM>2024-05-19T16:49:55.423227+05:30</ROL_VALID_FROM>
  <ROL_VALID_TILL>2024-05-19T16:49:55.423227+05:30</ROL_VALID_TILL>
</FetchPreferedService>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.