PUT {repositoryId}/OrganizationalAssignment/{id}/Unlock
Updates and unlocks an OrganizationalAssignment resource.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of the OrganizationalAssignment resource. |
string |
Required |
repositoryId |
ID of the resource repository (optional). |
string |
Default value is |
Body Parameters
OrganizationalAssignment to update the resource.
OrganizationalAssignmentName | Description | Type | Additional information |
---|---|---|---|
OrganizationReference | NamedReference |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
IsPrimaryAssignment | boolean |
None. |
|
IdentityReference | NamedReference |
None. |
|
PositionReference | NamedReference |
None. |
|
Created | ChangeStatusInformation |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
Id | string |
None. |
|
RepositoryId | string |
None. |
|
ModelReference | NamedReference |
None. |
|
Fields | Dictionary of Object [key] and Object [value] |
None. |
|
Locked | ChangeStatusInformation |
None. |
|
Frozen | ChangeStatusInformation |
None. |
|
LastUpdated | ChangeStatusInformation |
None. |
|
AttachmentInfoList | Collection of AttachmentInfo |
None. |
|
StructureHash | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrganizationReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Name": "sample string 1", "Description": "sample string 2", "IsPrimaryAssignment": true, "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "ObjectType": 113, "Created": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:28:42.5696667+01:00" }, "StartDate": "2024-11-22T08:28:42.5696667+01:00", "EndDate": "2024-11-22T08:28:42.5696667+01:00", "Id": "sample string 5", "RepositoryId": "sample string 6", "ModelReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Fields": null, "Locked": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:28:42.5696667+01:00" }, "Frozen": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:28:42.5696667+01:00" }, "LastUpdated": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:28:42.5696667+01:00" }, "AttachmentInfoList": [ { "RepositoryId": "sample string 1", "Id": "sample string 2", "OwnerType": 0, "AttachmentId": "sample string 3", "FileName": "sample string 4", "FileExtension": "sample string 5", "FileLength": 6, "System": true, "Created": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:28:42.5696667+01:00" }, "LastUpdated": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:28:42.5696667+01:00" }, "Operation": 0, "Tags": [ "sample string 1", "sample string 2" ], "Tag": "sample string 8" }, { "RepositoryId": "sample string 1", "Id": "sample string 2", "OwnerType": 0, "AttachmentId": "sample string 3", "FileName": "sample string 4", "FileExtension": "sample string 5", "FileLength": 6, "System": true, "Created": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:28:42.5696667+01:00" }, "LastUpdated": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:28:42.5696667+01:00" }, "Operation": 0, "Tags": [ "sample string 1", "sample string 2" ], "Tag": "sample string 8" } ], "StructureHash": "sample string 7" }
application/xml, text/xml
Sample:
<OrganizationalAssignment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.openworkbpm.com/schema"> <AttachmentInfoList> <AttachmentInfo> <AttachmentId>sample string 3</AttachmentId> <Created> <Date>2024-11-22T08:28:42.5696667+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </Created> <FileExtension>sample string 5</FileExtension> <FileLength>6</FileLength> <FileName>sample string 4</FileName> <Id>sample string 2</Id> <LastUpdated> <Date>2024-11-22T08:28:42.5696667+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </LastUpdated> <Operation>None</Operation> <OwnerType>Undefined</OwnerType> <RepositoryId>sample string 1</RepositoryId> <System>true</System> <Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Tags> <Tag>sample string 8</Tag> </AttachmentInfo> <AttachmentInfo> <AttachmentId>sample string 3</AttachmentId> <Created> <Date>2024-11-22T08:28:42.5696667+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </Created> <FileExtension>sample string 5</FileExtension> <FileLength>6</FileLength> <FileName>sample string 4</FileName> <Id>sample string 2</Id> <LastUpdated> <Date>2024-11-22T08:28:42.5696667+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </LastUpdated> <Operation>None</Operation> <OwnerType>Undefined</OwnerType> <RepositoryId>sample string 1</RepositoryId> <System>true</System> <Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Tags> <Tag>sample string 8</Tag> </AttachmentInfo> </AttachmentInfoList> <Description>sample string 2</Description> <Fields i:nil="true" /> <Frozen> <Date>2024-11-22T08:28:42.5696667+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </Frozen> <Id>sample string 5</Id> <LastUpdated> <Date>2024-11-22T08:28:42.5696667+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </LastUpdated> <Locked> <Date>2024-11-22T08:28:42.5696667+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </Locked> <ModelReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </ModelReference> <Name>sample string 1</Name> <ObjectType>OrganizationalAssignment</ObjectType> <RepositoryId>sample string 6</RepositoryId> <StructureHash>sample string 7</StructureHash> <Created> <Date>2024-11-22T08:28:42.5696667+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </Created> <EndDate>2024-11-22T08:28:42.5696667+01:00</EndDate> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <IsPrimaryAssignment>true</IsPrimaryAssignment> <OrganizationReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </OrganizationReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> <StartDate>2024-11-22T08:28:42.5696667+01:00</StartDate> </OrganizationalAssignment>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |