POST WorkPermitDefination

Request Information

URI Parameters

None.

Body Parameters

SessionWebAPIDto
NameDescriptionTypeAdditional information
DepartmentName

string

None.

DepartmentId

integer

None.

RoleId

integer

None.

CurrentRoleName

string

None.

FirstName

string

None.

LastName

string

None.

UserId

integer

None.

ObservationId

integer

None.

IsElevated

boolean

None.

IncidentId

integer

None.

InjuredWorkerId

integer

None.

InjuryCauseId

integer

None.

CorrectiveActions

string

None.

HandSkillTrainingId

integer

None.

CheckListId

integer

None.

CheckListResponseId

integer

None.

CustomerComplaintId

integer

None.

WorkPermitId

integer

None.

WorkPermitTypeId

integer

None.

ProjectId

integer

None.

WorkPermitStatus

string

None.

InspectionId

integer

None.

ObservationIdlist

Collection of integer

None.

ClosedRemark

string

None.

WorkPermitDefinationId

integer

None.

IsOfflineData

boolean

None.

DataCreationDate

string

None.

IsFromMobile

boolean

None.

CancelledByHSEOfficerId

integer

None.

DocumentId

integer

None.

Title

string

None.

_userAccessPermissions

Collection of UserAccessPermissionDto

None.

UserAccessPermissions

Collection of UserAccessPermissionDto

None.

Request Formats

application/json, text/json

Sample:
{
  "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
    }
  ]
}

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.