POST api/TruckMaster/PutDriverMaster

Request Information

URI Parameters

None.

Body Parameters

DriverMasterInput
NameDescriptionTypeAdditional information
DRV_ID

integer

None.

DRV_CP_ID

integer

None.

DRV_CODE

string

None.

DRV_NAME

string

None.

DRV_ADDRESS

string

None.

DRV_MOB_NO

string

None.

DRV_LICENSE_NO

string

None.

DRV_DOJ

date

None.

DRV_DOR

date

None.

DRV_AP_ID

integer

None.

DRV_STATUS

string

None.

DRV_NOTES

string

None.

DRV_PROGRAM_ID

string

None.

DRV_CREATED_BY

integer

None.

DRV_AADHAR_NUM

string

None.

DRV_EXP

date

None.

DRV_TOP_ID

integer

None.

DRV_ATTACHMENT_DETAILS

Collection of DRV_ATTACHMENT_DETAILS

None.

Request Formats

application/json, text/json

Sample:
{
  "DRV_ID": 1,
  "DRV_CP_ID": 1,
  "DRV_CODE": "sample string 1",
  "DRV_NAME": "sample string 2",
  "DRV_ADDRESS": "sample string 3",
  "DRV_MOB_NO": "sample string 4",
  "DRV_LICENSE_NO": "sample string 5",
  "DRV_DOJ": "2024-05-19T17:51:55.3372239+05:30",
  "DRV_DOR": "2024-05-19T17:51:55.3372239+05:30",
  "DRV_AP_ID": 1,
  "DRV_STATUS": "sample string 6",
  "DRV_NOTES": "sample string 7",
  "DRV_PROGRAM_ID": "sample string 8",
  "DRV_CREATED_BY": 1,
  "DRV_AADHAR_NUM": "sample string 9",
  "DRV_EXP": "2024-05-19T17:51:55.3372239+05:30",
  "DRV_TOP_ID": 1,
  "DRV_ATTACHMENT_DETAILS": [
    {
      "DRA_ID": 1,
      "DRA_ATH_NAME": "sample string 1",
      "DRA_FILE_NAME": "sample string 2",
      "DRA_DETAILS": "sample string 3",
      "DRA_USER_ID": 1,
      "DRA_USER_CODE": "sample string 4",
      "DRA_CREATED_ON": "2024-05-19T17:51:55.3372239+05:30",
      "DRA_CP_ID": 1,
      "DRA_CP_CODE": "sample string 5"
    },
    {
      "DRA_ID": 1,
      "DRA_ATH_NAME": "sample string 1",
      "DRA_FILE_NAME": "sample string 2",
      "DRA_DETAILS": "sample string 3",
      "DRA_USER_ID": 1,
      "DRA_USER_CODE": "sample string 4",
      "DRA_CREATED_ON": "2024-05-19T17:51:55.3372239+05:30",
      "DRA_CP_ID": 1,
      "DRA_CP_CODE": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<DriverMasterInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <DRV_AADHAR_NUM>sample string 9</DRV_AADHAR_NUM>
  <DRV_ADDRESS>sample string 3</DRV_ADDRESS>
  <DRV_AP_ID>1</DRV_AP_ID>
  <DRV_ATTACHMENT_DETAILS>
    <DRV_ATTACHMENT_DETAILS>
      <DRA_ATH_NAME>sample string 1</DRA_ATH_NAME>
      <DRA_CP_CODE>sample string 5</DRA_CP_CODE>
      <DRA_CP_ID>1</DRA_CP_ID>
      <DRA_CREATED_ON>2024-05-19T17:51:55.3372239+05:30</DRA_CREATED_ON>
      <DRA_DETAILS>sample string 3</DRA_DETAILS>
      <DRA_FILE_NAME>sample string 2</DRA_FILE_NAME>
      <DRA_ID>1</DRA_ID>
      <DRA_USER_CODE>sample string 4</DRA_USER_CODE>
      <DRA_USER_ID>1</DRA_USER_ID>
    </DRV_ATTACHMENT_DETAILS>
    <DRV_ATTACHMENT_DETAILS>
      <DRA_ATH_NAME>sample string 1</DRA_ATH_NAME>
      <DRA_CP_CODE>sample string 5</DRA_CP_CODE>
      <DRA_CP_ID>1</DRA_CP_ID>
      <DRA_CREATED_ON>2024-05-19T17:51:55.3372239+05:30</DRA_CREATED_ON>
      <DRA_DETAILS>sample string 3</DRA_DETAILS>
      <DRA_FILE_NAME>sample string 2</DRA_FILE_NAME>
      <DRA_ID>1</DRA_ID>
      <DRA_USER_CODE>sample string 4</DRA_USER_CODE>
      <DRA_USER_ID>1</DRA_USER_ID>
    </DRV_ATTACHMENT_DETAILS>
  </DRV_ATTACHMENT_DETAILS>
  <DRV_CODE>sample string 1</DRV_CODE>
  <DRV_CP_ID>1</DRV_CP_ID>
  <DRV_CREATED_BY>1</DRV_CREATED_BY>
  <DRV_DOJ>2024-05-19T17:51:55.3372239+05:30</DRV_DOJ>
  <DRV_DOR>2024-05-19T17:51:55.3372239+05:30</DRV_DOR>
  <DRV_EXP>2024-05-19T17:51:55.3372239+05:30</DRV_EXP>
  <DRV_ID>1</DRV_ID>
  <DRV_LICENSE_NO>sample string 5</DRV_LICENSE_NO>
  <DRV_MOB_NO>sample string 4</DRV_MOB_NO>
  <DRV_NAME>sample string 2</DRV_NAME>
  <DRV_NOTES>sample string 7</DRV_NOTES>
  <DRV_PROGRAM_ID>sample string 8</DRV_PROGRAM_ID>
  <DRV_STATUS>sample string 6</DRV_STATUS>
  <DRV_TOP_ID>1</DRV_TOP_ID>
</DriverMasterInput>

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.