POST api/Master/GetSelectedRoutingDefinition

Request Information

URI Parameters

None.

Body Parameters

RoutingDefinition
NameDescriptionTypeAdditional information
ROU_ID

integer

None.

ROU_CODE

string

None.

ROU_NAME

string

None.

ROU_PRIORITY

integer

None.

ROU_POL_PT_ID

integer

None.

ROU_POD_PT_ID

integer

None.

ROU_TR1_PT_ID

integer

None.

ROU_TR2_PT_ID

integer

None.

ROU_TR3_PT_ID

integer

None.

ROU_TR4_PT_ID

integer

None.

ROU_TR5_PT_ID

integer

None.

ROU_TRA_TIME

integer

None.

ROU_STATUS

string

None.

ROU_TYPE

string

None.

ROU_VALID_FROM

date

None.

ROU_VALID_TILL

date

None.

ROU_NOTES

string

None.

ROU_REF_ID

integer

None.

ROU_SEARCH

string

None.

ROU_PROGRAM_ID

string

None.

ROU_CREATED_BY

integer

None.

ROU_LEG_INFO

Collection of LEG_DETAILS

None.

ROU_SRV_INFO

Collection of ROU_SRV_DETAILS

None.

Request Formats

application/json, text/json

Sample:
{
  "ROU_ID": 1,
  "ROU_CODE": "sample string 1",
  "ROU_NAME": "sample string 2",
  "ROU_PRIORITY": 1,
  "ROU_POL_PT_ID": 1,
  "ROU_POD_PT_ID": 1,
  "ROU_TR1_PT_ID": 1,
  "ROU_TR2_PT_ID": 1,
  "ROU_TR3_PT_ID": 1,
  "ROU_TR4_PT_ID": 1,
  "ROU_TR5_PT_ID": 1,
  "ROU_TRA_TIME": 1,
  "ROU_STATUS": "sample string 3",
  "ROU_TYPE": "sample string 4",
  "ROU_VALID_FROM": "2024-05-19T16:25:03.4312255+05:30",
  "ROU_VALID_TILL": "2024-05-19T16:25:03.4312255+05:30",
  "ROU_NOTES": "sample string 5",
  "ROU_REF_ID": 1,
  "ROU_SEARCH": "sample string 6",
  "ROU_PROGRAM_ID": "sample string 7",
  "ROU_CREATED_BY": 1,
  "ROU_LEG_INFO": [
    {
      "ROL_ID": 1,
      "ROL_ROU_ID": 1,
      "ROL_LEG_NUM": 1,
      "ROL_CUR_PT_ID": 1,
      "ROL_NXT_PT_ID": 1,
      "ROL_CUR_PT_CODE": "sample string 1",
      "ROL_NXT_PT_CODE": "sample string 2",
      "ROL_HANDLED_BY_CODE": "sample string 3",
      "ROL_HANDLED_BY_ID": "sample string 4"
    },
    {
      "ROL_ID": 1,
      "ROL_ROU_ID": 1,
      "ROL_LEG_NUM": 1,
      "ROL_CUR_PT_ID": 1,
      "ROL_NXT_PT_ID": 1,
      "ROL_CUR_PT_CODE": "sample string 1",
      "ROL_NXT_PT_CODE": "sample string 2",
      "ROL_HANDLED_BY_CODE": "sample string 3",
      "ROL_HANDLED_BY_ID": "sample string 4"
    }
  ],
  "ROU_SRV_INFO": [
    {
      "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:
<RoutingDefinition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <ROU_CODE>sample string 1</ROU_CODE>
  <ROU_CREATED_BY>1</ROU_CREATED_BY>
  <ROU_ID>1</ROU_ID>
  <ROU_LEG_INFO>
    <LEG_DETAILS>
      <ROL_CUR_PT_CODE>sample string 1</ROL_CUR_PT_CODE>
      <ROL_CUR_PT_ID>1</ROL_CUR_PT_ID>
      <ROL_HANDLED_BY_CODE>sample string 3</ROL_HANDLED_BY_CODE>
      <ROL_HANDLED_BY_ID>sample string 4</ROL_HANDLED_BY_ID>
      <ROL_ID>1</ROL_ID>
      <ROL_LEG_NUM>1</ROL_LEG_NUM>
      <ROL_NXT_PT_CODE>sample string 2</ROL_NXT_PT_CODE>
      <ROL_NXT_PT_ID>1</ROL_NXT_PT_ID>
      <ROL_ROU_ID>1</ROL_ROU_ID>
    </LEG_DETAILS>
    <LEG_DETAILS>
      <ROL_CUR_PT_CODE>sample string 1</ROL_CUR_PT_CODE>
      <ROL_CUR_PT_ID>1</ROL_CUR_PT_ID>
      <ROL_HANDLED_BY_CODE>sample string 3</ROL_HANDLED_BY_CODE>
      <ROL_HANDLED_BY_ID>sample string 4</ROL_HANDLED_BY_ID>
      <ROL_ID>1</ROL_ID>
      <ROL_LEG_NUM>1</ROL_LEG_NUM>
      <ROL_NXT_PT_CODE>sample string 2</ROL_NXT_PT_CODE>
      <ROL_NXT_PT_ID>1</ROL_NXT_PT_ID>
      <ROL_ROU_ID>1</ROL_ROU_ID>
    </LEG_DETAILS>
  </ROU_LEG_INFO>
  <ROU_NAME>sample string 2</ROU_NAME>
  <ROU_NOTES>sample string 5</ROU_NOTES>
  <ROU_POD_PT_ID>1</ROU_POD_PT_ID>
  <ROU_POL_PT_ID>1</ROU_POL_PT_ID>
  <ROU_PRIORITY>1</ROU_PRIORITY>
  <ROU_PROGRAM_ID>sample string 7</ROU_PROGRAM_ID>
  <ROU_REF_ID>1</ROU_REF_ID>
  <ROU_SEARCH>sample string 6</ROU_SEARCH>
  <ROU_SRV_INFO>
    <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>
  </ROU_SRV_INFO>
  <ROU_STATUS>sample string 3</ROU_STATUS>
  <ROU_TR1_PT_ID>1</ROU_TR1_PT_ID>
  <ROU_TR2_PT_ID>1</ROU_TR2_PT_ID>
  <ROU_TR3_PT_ID>1</ROU_TR3_PT_ID>
  <ROU_TR4_PT_ID>1</ROU_TR4_PT_ID>
  <ROU_TR5_PT_ID>1</ROU_TR5_PT_ID>
  <ROU_TRA_TIME>1</ROU_TRA_TIME>
  <ROU_TYPE>sample string 4</ROU_TYPE>
  <ROU_VALID_FROM>2024-05-19T16:25:03.4312255+05:30</ROU_VALID_FROM>
  <ROU_VALID_TILL>2024-05-19T16:25:03.4312255+05:30</ROU_VALID_TILL>
</RoutingDefinition>

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.