POST api/MobileApi/IsJobEditable

Request Information

URI Parameters

None.

Body Parameters

MobileJobEditLockModel
NameDescriptionTypeAdditional information
JobEditLockModel

HI_JobEditLockModel

Required

UserId

integer

Required

ClientId

string

Required

Token

string

Required

ServerName

string

Required

LastUpdatedTime

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "JobEditLockModel": {
    "id": 1,
    "COCNO": "sample string 2",
    "LockTime": "2024-09-19T19:59:43.0493442+01:00",
    "BrowserId": "sample string 4"
  },
  "UserId": 1,
  "ClientId": "sample string 1",
  "Token": "sample string 2",
  "ServerName": "sample string 3",
  "LastUpdatedTime": 4
}

application/xml, text/xml

Sample:
<MobileJobEditLockModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Chemtest.EntityModel.Models">
  <ClientId>sample string 1</ClientId>
  <LastUpdatedTime>4</LastUpdatedTime>
  <ServerName>sample string 3</ServerName>
  <Token>sample string 2</Token>
  <UserId>1</UserId>
  <JobEditLockModel xmlns:d2p1="http://schemas.datacontract.org/2004/07/Chemtest.EntityModel">
    <d2p1:BrowserId>sample string 4</d2p1:BrowserId>
    <d2p1:COCNO>sample string 2</d2p1:COCNO>
    <d2p1:LockTime>2024-09-19T19:59:43.0493442+01:00</d2p1:LockTime>
    <d2p1:id>1</d2p1:id>
  </JobEditLockModel>
</MobileJobEditLockModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MobileJobEditLockModel'.

Response Information

Resource Description

ResponseOfBoolean
NameDescriptionTypeAdditional information
statusCode

string

None.

responseData

boolean

None.

status

string

None.

Response Formats

application/json, text/json

Sample:
{
  "statusCode": "sample string 1",
  "responseData": true,
  "status": "sample string 3"
}

application/xml, text/xml

Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Chemtest.EntityModel.Models">
  <responseData>true</responseData>
  <status>sample string 3</status>
  <statusCode>sample string 1</statusCode>
</ResponseOfboolean>