POST api/LabourManagement/UpdateLabourIdentityDetail

Request Information

URI Parameters

None.

Body Parameters

Collection of IdentityReferenceView
NameDescriptionTypeAdditional information
ID

integer

None.

Sys_Code

string

None.

ReferencePersonType

string

None.

Reference_Code

integer

None.

TypeOfIdentityMasterItem_Code

integer

None.

IdentiyNo

string

None.

NameInIdentity

string

None.

RegistrationDate

date

None.

ExpireDate

date

None.

DispalyExpireDate

string

None.

RenualDate

date

None.

CreatedDate

date

None.

CreateBy

integer

None.

ModifiedDate

date

None.

ModifiedBy

integer

None.

IsActive

boolean

None.

IsDelete

boolean

None.

IsSync

boolean

None.

DrivingLicenseType

integer

None.

DrivingLicense

string

None.

LicenseBatchNo

string

None.

LicenseValidity

date

None.

NPR

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Sys_Code": "sample string 2",
    "ReferencePersonType": "sample string 3",
    "Reference_Code": 1,
    "TypeOfIdentityMasterItem_Code": 1,
    "IdentiyNo": "sample string 4",
    "NameInIdentity": "sample string 5",
    "RegistrationDate": "2026-06-19T07:46:20.9649881+00:00",
    "ExpireDate": "2026-06-19T07:46:20.9649881+00:00",
    "DispalyExpireDate": "6/19/2026",
    "RenualDate": "2026-06-19T07:46:20.9649881+00:00",
    "CreatedDate": "2026-06-19T07:46:20.9649881+00:00",
    "CreateBy": 1,
    "ModifiedDate": "2026-06-19T07:46:20.9649881+00:00",
    "ModifiedBy": 1,
    "IsActive": true,
    "IsDelete": true,
    "IsSync": true,
    "DrivingLicenseType": 1,
    "DrivingLicense": "sample string 9",
    "LicenseBatchNo": "sample string 10",
    "LicenseValidity": "2026-06-19T07:46:20.9649881+00:00",
    "NPR": "sample string 11"
  },
  {
    "ID": 1,
    "Sys_Code": "sample string 2",
    "ReferencePersonType": "sample string 3",
    "Reference_Code": 1,
    "TypeOfIdentityMasterItem_Code": 1,
    "IdentiyNo": "sample string 4",
    "NameInIdentity": "sample string 5",
    "RegistrationDate": "2026-06-19T07:46:20.9649881+00:00",
    "ExpireDate": "2026-06-19T07:46:20.9649881+00:00",
    "DispalyExpireDate": "6/19/2026",
    "RenualDate": "2026-06-19T07:46:20.9649881+00:00",
    "CreatedDate": "2026-06-19T07:46:20.9649881+00:00",
    "CreateBy": 1,
    "ModifiedDate": "2026-06-19T07:46:20.9649881+00:00",
    "ModifiedBy": 1,
    "IsActive": true,
    "IsDelete": true,
    "IsSync": true,
    "DrivingLicenseType": 1,
    "DrivingLicense": "sample string 9",
    "LicenseBatchNo": "sample string 10",
    "LicenseValidity": "2026-06-19T07:46:20.9649881+00:00",
    "NPR": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfIdentityReferenceView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModelHRMS">
  <IdentityReferenceView>
    <CreateBy>1</CreateBy>
    <CreatedDate>2026-06-19T07:46:20.9649881+00:00</CreatedDate>
    <DrivingLicense>sample string 9</DrivingLicense>
    <DrivingLicenseType>1</DrivingLicenseType>
    <ExpireDate>2026-06-19T07:46:20.9649881+00:00</ExpireDate>
    <ID>1</ID>
    <IdentiyNo>sample string 4</IdentiyNo>
    <IsActive>true</IsActive>
    <IsDelete>true</IsDelete>
    <IsSync>true</IsSync>
    <LicenseBatchNo>sample string 10</LicenseBatchNo>
    <LicenseValidity>2026-06-19T07:46:20.9649881+00:00</LicenseValidity>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2026-06-19T07:46:20.9649881+00:00</ModifiedDate>
    <NPR>sample string 11</NPR>
    <NameInIdentity>sample string 5</NameInIdentity>
    <ReferencePersonType>sample string 3</ReferencePersonType>
    <Reference_Code>1</Reference_Code>
    <RegistrationDate>2026-06-19T07:46:20.9649881+00:00</RegistrationDate>
    <RenualDate>2026-06-19T07:46:20.9649881+00:00</RenualDate>
    <Sys_Code>sample string 2</Sys_Code>
    <TypeOfIdentityMasterItem_Code>1</TypeOfIdentityMasterItem_Code>
  </IdentityReferenceView>
  <IdentityReferenceView>
    <CreateBy>1</CreateBy>
    <CreatedDate>2026-06-19T07:46:20.9649881+00:00</CreatedDate>
    <DrivingLicense>sample string 9</DrivingLicense>
    <DrivingLicenseType>1</DrivingLicenseType>
    <ExpireDate>2026-06-19T07:46:20.9649881+00:00</ExpireDate>
    <ID>1</ID>
    <IdentiyNo>sample string 4</IdentiyNo>
    <IsActive>true</IsActive>
    <IsDelete>true</IsDelete>
    <IsSync>true</IsSync>
    <LicenseBatchNo>sample string 10</LicenseBatchNo>
    <LicenseValidity>2026-06-19T07:46:20.9649881+00:00</LicenseValidity>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2026-06-19T07:46:20.9649881+00:00</ModifiedDate>
    <NPR>sample string 11</NPR>
    <NameInIdentity>sample string 5</NameInIdentity>
    <ReferencePersonType>sample string 3</ReferencePersonType>
    <Reference_Code>1</Reference_Code>
    <RegistrationDate>2026-06-19T07:46:20.9649881+00:00</RegistrationDate>
    <RenualDate>2026-06-19T07:46:20.9649881+00:00</RenualDate>
    <Sys_Code>sample string 2</Sys_Code>
    <TypeOfIdentityMasterItem_Code>1</TypeOfIdentityMasterItem_Code>
  </IdentityReferenceView>
</ArrayOfIdentityReferenceView>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>