POST Api/Helper/DistributedUnLock

分布式锁解锁

Request Information

URI Parameters

None.

Body Parameters

锁属性

SpeedPower.Utility.Tools.LockerProperty
NameDescriptionTypeAdditional information
LockKey

string

Required

Method

string

Required

Token

string

None.

Timeout

time interval

None.

Request Formats

application/json, text/json

Sample:
{
  "LockKey": "sample string 1",
  "Method": "sample string 2",
  "Token": "sample string 3",
  "Timeout": "00:00:00.1234567"
}

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="LockKey"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Method"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Token"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.Ticks"

1234567
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.Days"

0
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.Hours"

0
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.Milliseconds"

123
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.Minutes"

0
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.Seconds"

0
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.TotalDays"

1.4288969907407408E-06
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.TotalHours"

3.4293527777777779E-05
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.TotalMilliseconds"

123.45670000000001
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.TotalMinutes"

0.0020576116666666667
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Timeout.TotalSeconds"

0.12345669999999999
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

分布式锁解锁

SpeedPower.Utility.Models.Helper.ResultMessage
NameDescriptionTypeAdditional information
Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeed": true,
  "Message": "sample string 2"
}

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Succeed"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Message"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--