POST api/Images/DelImage
Request Information
URI Parameters
None.
Body Parameters
RequestDelImageName | Description | Type | Additional information |
---|---|---|---|
DepartmentId | globally unique identifier |
None. |
|
MemberId | globally unique identifier |
None. |
|
ImageResourceId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "DepartmentId": "a4980566-220f-46c1-afcd-76ee4010f3a1", "MemberId": "2f3e0c07-c6de-4d5e-89de-b3d0903ac6ea", "ImageResourceId": "6c26ad89-d5be-4e5e-b110-1bc01aee7fc5" }
application/xml, text/xml
Sample:
<RequestDelImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.TPS.Model.Request.Images"> <DepartmentId>a4980566-220f-46c1-afcd-76ee4010f3a1</DepartmentId> <ImageResourceId>6c26ad89-d5be-4e5e-b110-1bc01aee7fc5</ImageResourceId> <MemberId>2f3e0c07-c6de-4d5e-89de-b3d0903ac6ea</MemberId> </RequestDelImage>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ExecuteResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
IsSuccess | boolean |
None. |
|
Msg | string |
None. |
|
Code | integer |
None. |
|
StatusCode | string |
None. |
|
Errors | Dictionary of string [key] and string [value] |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "IsSuccess": true, "Msg": "sample string 3", "Code": 4, "StatusCode": "sample string 5", "Errors": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }
application/xml, text/xml
Sample:
<ExecuteResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core"> <Code>4</Code> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </Errors> <IsSuccess>true</IsSuccess> <Msg>sample string 3</Msg> <StatusCode>sample string 5</StatusCode> <Success>true</Success> </ExecuteResult>