This method update specific record from document field data in request. Document field data must be base64. The client makes a POST request providing Request body in xml format and input parameters RecordID, Document Field Code, Language in the request url. The output will be xml format. Updated record ID will be return. All circumstances will be return Process Status Types and Process Message. System will be returned operation status of web service with “ProcessStatusTypes”. The status informations is given in the following descriptions.
| Name | Value |
|---|---|
| Service Type | RESTFUL / POST |
| Request Data Type | XML |
| Response Data Type | XML |
| Content Type | UTF-8 |
| Authentication Types | Basic Authentication, Custom Header Authenticaton |
| Sample Request Endpoint | http://company.bpm.next4biz.com/RES/RecordProcessorService.svc/AddDocument/RecordID/{RecordID}/DocumentFieldCode/{DocumentFieldCode}/Language/{Turkish} |
Success
NoEntryPageForWorkflow
NoWorkflow
NoCurrentUser
NoCategory
NullRecord
InvalidAssignedUserForTakeownership
InvalidAssignedUserGroupForTakeownership
EmptyNoteList
InvalidNote
InvalidAssignedUserForAssignment
InvalidAssignedUserGroupForAssignment
InvalidToState
InvalidFromState
InvalidTransition
InvalidAssignedUserForTransition
GeneralError
EmptyDataFields
InvalidCurrentUser
InvalidBusinessChannel
InvalidAssignee
InvalidCategory
InvalidRecord
NoResUser
NoActiveResUser
ClientPasswordMismatch
EmptyUsernameOrPassword
NoAccess
AuthorizedGroupsDoesNotContainUsergroup
UserGroupDoesNotContainUser
AuthorizationExpired
MissingMandatoryFields
NoVisibleDataField
PageHasNoDataField
EmptyTransitionUserGroups
SelectedUsergroupNotAuthorizedForTransition
UserNotMember
CategoryWorkflowRelation
WorkflowHasNoRelatedCategory
EmptyLifeCycle
<Document>
<Name>{Document Name}</Name>
<TypeCode>{Document type unique code}</TypeCode>
<Value>{base64 document value}</Value>
</Document>
<AddDocumentResponse xmlns="http://tempuri.org/">
<AddDocumentResult xmlns:a="..." >
<a:ProcessMessage>IssueUpdated Success</a:ProcessMessage>
<a:ProcessStatus>Success</a:ProcessStatus>
<a:RecordID>5388</a:RecordID>
</AddDocumentResult>
</AddDocumentResponse>