GET api/Collaboration/GetRevisionStatus?itemId={itemId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
itemId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ObjResultOfIDictionaryOfInt64AndBoolean
NameDescriptionTypeAdditional information
Data

Dictionary of integer [key] and boolean [value]

None.

Error

Error description if the operation failed

string

None.

Success

Operation result

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "1": true,
    "3": true
  },
  "error": "sample string 1",
  "success": true,
  "errorCode": 3
}

application/xml, text/xml

Sample:
<ObjResultOfArrayOfKeyValueOflongbooleanuHEDJ7Dj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient.Models">
  <_x003C_ErrorCode_x003E_k__BackingField>3</_x003C_ErrorCode_x003E_k__BackingField>
  <_x003C_Error_x003E_k__BackingField>sample string 1</_x003C_Error_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
  <Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOflongboolean>
      <d2p1:Key>1</d2p1:Key>
      <d2p1:Value>true</d2p1:Value>
    </d2p1:KeyValueOflongboolean>
    <d2p1:KeyValueOflongboolean>
      <d2p1:Key>3</d2p1:Key>
      <d2p1:Value>true</d2p1:Value>
    </d2p1:KeyValueOflongboolean>
  </Data>
</ObjResultOfArrayOfKeyValueOflongbooleanuHEDJ7Dj>
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

}