POST api/Subcontracts/{subcontractId}/Certifications/SectionWipAndCertification/{sectionId}
Create certification with wip for section
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
|
| sectionId | integer |
Required |
Body Parameters
WipCreateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
None. |
|
| Comments | string |
None. |
|
| QuantityType | QuantityTypeId |
None. |
Request Formats
application/json, text/json
Sample:
{
"title": "sample string 2",
"comments": "sample string 3",
"quantityType": 0
}
text/html
Sample:
{"title":"sample string 2","comments":"sample string 3","quantityType":0}
application/xml, text/xml
Sample:
<WipCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.WipAgg"> <Comments>sample string 3</Comments> <QuantityType>Assigned</QuantityType> <Title>sample string 2</Title> </WipCreateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfCertificationCreateResponseDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | CertificationCreateResponseDto |
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.