| POST | /WorkflowStep/update |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StepAttachFiles | body | List<UploadedFiles> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| WorkflowId | form | int | No | |
| StepOrder | form | int? | No | |
| StepName | form | string | Yes | |
| IsRequired | form | bool | Yes | |
| SLALegalValue | form | int? | No | |
| SLALegalIsByDay | form | bool? | No | |
| SLAInternalValue | form | int? | No | |
| SLAInternalIsByDay | form | bool? | No | |
| RequireAttachment | form | bool | No | |
| Description | form | string | Yes | |
| CreatedBy | form | int | No | |
| DepartmentIds | form | List<int> | No | |
| StepBasisDocumentIds | form | List<int> | No | |
| StepAttachedIds | form | List<int> | No | |
| MainAssigneeIds | form | List<int> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long? | No | |
| UploadedFile | form | string | Yes | |
| SubDocumentId | form | int? | No | |
| StepId | form | int? | No | |
| Code | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FileName | form | string | Yes | |
| Filekey | form | string | Yes | |
| FileUrl | form | string | Yes | |
| Checksum | form | string | Yes | |
| ETag | form | string | Yes | |
| FileSize | form | long | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Code | form | int | No | |
| Message | form | string | Yes | |
| InsertedId | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /WorkflowStep/update HTTP/1.1
Host: etc-api.vsmlab.vn
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"stepAttachFiles":[{"id":0,"uploadedFile":"String","subDocumentId":0,"stepId":0,"code":0,"fileName":"String","filekey":"String","fileUrl":"String","checksum":"String","eTag":"String","fileSize":0}],"id":0,"workflowId":0,"stepOrder":0,"stepName":"String","isRequired":false,"slaLegalValue":0,"slaLegalIsByDay":false,"slaInternalValue":0,"slaInternalIsByDay":false,"requireAttachment":false,"description":"String","createdBy":0,"departmentIds":[0],"stepBasisDocumentIds":[0],"stepAttachedIds":[0],"mainAssigneeIds":[0]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"code":0,"message":"String","insertedId":0}