POST api/Subcontracts/{subcontractId}/Fewo/{fewoId}/NotSignedDocuments
Create a fewo signed document.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId |
Subcontract identifier. |
integer |
Required |
| fewoId |
Fewo identifier. |
integer |
Required |
Body Parameters
Fewo identifier.
Collection of FewoCreateSignedDocumentDto| Name | Description | Type | Additional information |
|---|---|---|---|
| FewoVersionId | integer |
None. |
|
| Title | string |
None. |
|
| BaseSiteActionsTypeId | BaseSiteActionsTypeId |
None. |
|
| IsSigned | boolean |
None. |
|
| Files | Collection of DocumentBasicInfoDto |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"fewoVersionId": 1,
"title": "sample string 2",
"baseSiteActionsTypeId": 1,
"isSigned": true,
"files": [
{
"id": 1,
"name": "sample string 2"
},
{
"id": 1,
"name": "sample string 2"
}
]
},
{
"fewoVersionId": 1,
"title": "sample string 2",
"baseSiteActionsTypeId": 1,
"isSigned": true,
"files": [
{
"id": 1,
"name": "sample string 2"
},
{
"id": 1,
"name": "sample string 2"
}
]
}
]
text/html
Sample:
[{"fewoVersionId":1,"title":"sample string 2","baseSiteActionsTypeId":1,"isSigned":true,"files":[{"id":1,"name":"sample string 2"},{"id":1,"name":"sample string 2"}]},{"fewoVersionId":1,"title":"sample string 2","baseSiteActionsTypeId":1,"isSigned":true,"files":[{"id":1,"name":"sample string 2"},{"id":1,"name":"sample string 2"}]}]
application/xml, text/xml
Sample:
<ArrayOfFewoCreateSignedDocumentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.FewoAgg">
<FewoCreateSignedDocumentDto>
<BaseSiteActionsTypeId>OnlyDataBase</BaseSiteActionsTypeId>
<FewoVersionId>1</FewoVersionId>
<Files xmlns:d3p1="http://schemas.datacontract.org/2004/07/TR.eSAM.DocumentModule.Application.Dtos.Dtos.DocumentAgg">
<d3p1:DocumentBasicInfoDto>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:DocumentBasicInfoDto>
<d3p1:DocumentBasicInfoDto>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:DocumentBasicInfoDto>
</Files>
<IsSigned>true</IsSigned>
<Title>sample string 2</Title>
</FewoCreateSignedDocumentDto>
<FewoCreateSignedDocumentDto>
<BaseSiteActionsTypeId>OnlyDataBase</BaseSiteActionsTypeId>
<FewoVersionId>1</FewoVersionId>
<Files xmlns:d3p1="http://schemas.datacontract.org/2004/07/TR.eSAM.DocumentModule.Application.Dtos.Dtos.DocumentAgg">
<d3p1:DocumentBasicInfoDto>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:DocumentBasicInfoDto>
<d3p1:DocumentBasicInfoDto>
<d3p1:Id>1</d3p1:Id>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:DocumentBasicInfoDto>
</Files>
<IsSigned>true</IsSigned>
<Title>sample string 2</Title>
</FewoCreateSignedDocumentDto>
</ArrayOfFewoCreateSignedDocumentDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfFewoToSignDocumentationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | FewoToSignDocumentationDto |
None. |
|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Errors | Collection of CustomError |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.