Request Information

URI Parameters

None.

Body Parameters

EditDispatcherRequest.

EditDispatcherRequest
NameDescriptionTypeAdditional information
DispEntity

Dispatcher Entity.

integer

None.

DispatchId

Dispatcher Id.

string

Required

Matching regular expression pattern: [A-F0-9]{6}

String length: inclusive between 6 and 6

Name

Name.

string

Required

Max length: 50

Location

Location.

string

Max length: 50

PhoneNo

Phone Number.

string

Data type: PhoneNumber

Max length: 20

DispatcherBlock

Dispatcher Block.

string

Max length: 32

SystemOwner

System Owner.

boolean

None.

ExportStartDate

Export Start Date.

string

Required

Max length: 10

ExportEndDate

Export End Date.

string

Required

Max length: 10

IsResetUserTouchKey

boolean

None.

IsResetTamper

boolean

None.

IsDownloadAudit

boolean

None.

IsOpenLock

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "DispEntity": 1,
  "DispatchId": "sample string 2",
  "Name": "sample string 3",
  "Location": "sample string 4",
  "PhoneNo": "sample string 5",
  "DispatcherBlock": "sample string 6",
  "SystemOwner": true,
  "ExportStartDate": "sample string 7",
  "ExportEndDate": "sample string 8",
  "IsResetUserTouchKey": true,
  "IsResetTamper": true,
  "IsDownloadAudit": true,
  "IsOpenLock": true
}

application/xml, text/xml

Sample:
<EditDispatcherRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Requests.Dispatcher">
  <DispEntity>1</DispEntity>
  <DispatchId>sample string 2</DispatchId>
  <DispatcherBlock>sample string 6</DispatcherBlock>
  <ExportEndDate>sample string 8</ExportEndDate>
  <ExportStartDate>sample string 7</ExportStartDate>
  <IsDownloadAudit>true</IsDownloadAudit>
  <IsOpenLock>true</IsOpenLock>
  <IsResetTamper>true</IsResetTamper>
  <IsResetUserTouchKey>true</IsResetUserTouchKey>
  <Location>sample string 4</Location>
  <Name>sample string 3</Name>
  <PhoneNo>sample string 5</PhoneNo>
  <SystemOwner>true</SystemOwner>
</EditDispatcherRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

EditDispatcherResponse

EditDispatcherResponse
NameDescriptionTypeAdditional information
Header

ResponseHeader

None.

Body

EditDispatcherResponseBody

None.

Response Header Description

ResponseHeader
NameDescriptionTypeAdditional information
Message

Message

string

None.

StatusCode

Status code

ResponseStatus

None.

Status

Status

string

None.

ErrorId

Error id

string

None.

Response Body Description

EditDispatcherResponseBody
NameDescriptionTypeAdditional information
IsSuccess

Flag to show if dispatcher successfully edited

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Header": {
    "Message": "sample string 1",
    "StatusCode": 0,
    "Status": "sample string 2",
    "ErrorId": "sample string 3"
  },
  "Body": {
    "IsSuccess": true
  }
}

application/xml, text/xml

Sample:
<EditDispatcherResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses.Dispatcher">
  <Body xmlns:d2p1="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses.Dispatcher" xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses">
    <d2p1:IsSuccess>true</d2p1:IsSuccess>
  </Body>
  <Header xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses">
    <ErrorId>sample string 3</ErrorId>
    <Message>sample string 1</Message>
    <Status>sample string 2</Status>
    <StatusCode>Ok</StatusCode>
  </Header>
</EditDispatcherResponse>

© 2025 Sargent and Greenleaf