POST WorkPermit/Search

Request Information

URI Parameters

None.

Body Parameters

SearchWorkPermitEndUserModel
NameDescriptionTypeAdditional information
IsFromLandingPage

boolean

None.

Regions

Collection of DropdownDto

None.

Projects

Collection of DropdownDto

None.

WorkPermitTypes

Collection of DropdownDto

None.

WorkPermitStatus

Collection of DropdownDto

None.

SelectedRegionIds

Collection of integer

None.

SelectedProjectIds

Collection of integer

None.

SelectedWorkPermitTypes

Collection of integer

None.

SelectedWorkPermitStatus

Collection of integer

None.

IssueStartDate

string

None.

IssueEndDate

string

None.

IsIssuedHdn

string

None.

sessionData

SessionWebAPIDto

None.

IsFormReset

boolean

None.

SortOrder

string

None.

SortColumn

string

None.

PageSize

integer

None.

SelectedPageNumber

integer

None.

FormName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IsFromLandingPage": true,
  "Regions": [
    {
      "Key": 1,
      "Value": "sample string 2",
      "FilterId": 1,
      "SortSequence": 3,
      "ValueConstant": "sample string 4"
    },
    {
      "Key": 1,
      "Value": "sample string 2",
      "FilterId": 1,
      "SortSequence": 3,
      "ValueConstant": "sample string 4"
    }
  ],
  "Projects": [
    {
      "Key": 1,
      "Value": "sample string 2",
      "FilterId": 1,
      "SortSequence": 3,
      "ValueConstant": "sample string 4"
    },
    {
      "Key": 1,
      "Value": "sample string 2",
      "FilterId": 1,
      "SortSequence": 3,
      "ValueConstant": "sample string 4"
    }
  ],
  "WorkPermitTypes": [
    {
      "Key": 1,
      "Value": "sample string 2",
      "FilterId": 1,
      "SortSequence": 3,
      "ValueConstant": "sample string 4"
    },
    {
      "Key": 1,
      "Value": "sample string 2",
      "FilterId": 1,
      "SortSequence": 3,
      "ValueConstant": "sample string 4"
    }
  ],
  "WorkPermitStatus": [
    {
      "Key": 1,
      "Value": "sample string 2",
      "FilterId": 1,
      "SortSequence": 3,
      "ValueConstant": "sample string 4"
    },
    {
      "Key": 1,
      "Value": "sample string 2",
      "FilterId": 1,
      "SortSequence": 3,
      "ValueConstant": "sample string 4"
    }
  ],
  "SelectedRegionIds": [
    1,
    2
  ],
  "SelectedProjectIds": [
    1,
    2
  ],
  "SelectedWorkPermitTypes": [
    1,
    2
  ],
  "SelectedWorkPermitStatus": [
    1,
    2
  ],
  "IssueStartDate": "sample string 2",
  "IssueEndDate": "sample string 3",
  "IsIssuedHdn": "sample string 4",
  "sessionData": {
    "DepartmentName": "sample string 1",
    "DepartmentId": 2,
    "RoleId": 3,
    "CurrentRoleName": "sample string 4",
    "FirstName": "sample string 5",
    "LastName": "sample string 6",
    "UserId": 7,
    "ObservationId": 8,
    "IsElevated": true,
    "IncidentId": 10,
    "InjuredWorkerId": 11,
    "InjuryCauseId": 12,
    "CorrectiveActions": "sample string 13",
    "HandSkillTrainingId": 14,
    "CheckListId": 15,
    "CheckListResponseId": 16,
    "CustomerComplaintId": 17,
    "WorkPermitId": 18,
    "WorkPermitTypeId": 19,
    "ProjectId": 20,
    "WorkPermitStatus": "sample string 21",
    "InspectionId": 22,
    "ObservationIdlist": [
      1,
      2
    ],
    "ClosedRemark": "sample string 23",
    "WorkPermitDefinationId": 24,
    "IsOfflineData": true,
    "DataCreationDate": "sample string 26",
    "IsFromMobile": true,
    "CancelledByHSEOfficerId": 28,
    "DocumentId": 29,
    "Title": "sample string 30",
    "_userAccessPermissions": [
      {
        "LevelId": 1,
        "LevelName": "sample string 2",
        "DepartmentId": 3,
        "DepartmentName": "sample string 4",
        "DepartmentType": "sample string 5",
        "PositionId": 6,
        "PositionName": "sample string 7",
        "PositionImportance": 8
      },
      {
        "LevelId": 1,
        "LevelName": "sample string 2",
        "DepartmentId": 3,
        "DepartmentName": "sample string 4",
        "DepartmentType": "sample string 5",
        "PositionId": 6,
        "PositionName": "sample string 7",
        "PositionImportance": 8
      }
    ],
    "UserAccessPermissions": [
      {
        "LevelId": 1,
        "LevelName": "sample string 2",
        "DepartmentId": 3,
        "DepartmentName": "sample string 4",
        "DepartmentType": "sample string 5",
        "PositionId": 6,
        "PositionName": "sample string 7",
        "PositionImportance": 8
      },
      {
        "LevelId": 1,
        "LevelName": "sample string 2",
        "DepartmentId": 3,
        "DepartmentName": "sample string 4",
        "DepartmentType": "sample string 5",
        "PositionId": 6,
        "PositionName": "sample string 7",
        "PositionImportance": 8
      }
    ]
  },
  "IsFormReset": true,
  "SortOrder": "sample string 6",
  "SortColumn": "sample string 7",
  "PageSize": 8,
  "SelectedPageNumber": 9,
  "FormName": "sample string 10"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.