POST api/Subcontracts/{subcontractId}/Certifications/{certificationId}/Versions/{certificationVersionId}/CertifyEntities
Certify entities
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| certificationId | integer |
Required |
|
| certificationVersionId | integer |
Required |
|
| subcontractId | string |
None. |
Body Parameters
Collection of CertificationIncludedEntitiesCreateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| BusinessEntityTypeId | BusinessEntityTypeId |
Required |
|
| CertificationConceptId | integer |
Required |
|
| EntityId | integer |
Required |
|
| EntityVersionId | integer |
None. |
|
| Percentage | decimal number |
Required |
|
| AppliedRetention | boolean |
None. |
|
| AppliedDeduction | boolean |
None. |
|
| AppliedPercByProgress | boolean |
None. |
|
| SectionId | integer |
None. |
|
| SectionCode | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"businessEntityTypeId": 1,
"certificationConceptId": 1,
"entityId": 2,
"entityVersionId": 1,
"percentage": 3.0,
"appliedRetention": true,
"appliedDeduction": true,
"appliedPercByProgress": true,
"sectionId": 4,
"sectionCode": "sample string 5"
},
{
"businessEntityTypeId": 1,
"certificationConceptId": 1,
"entityId": 2,
"entityVersionId": 1,
"percentage": 3.0,
"appliedRetention": true,
"appliedDeduction": true,
"appliedPercByProgress": true,
"sectionId": 4,
"sectionCode": "sample string 5"
}
]
text/html
Sample:
[{"businessEntityTypeId":1,"certificationConceptId":1,"entityId":2,"entityVersionId":1,"percentage":3.0,"appliedRetention":true,"appliedDeduction":true,"appliedPercByProgress":true,"sectionId":4,"sectionCode":"sample string 5"},{"businessEntityTypeId":1,"certificationConceptId":1,"entityId":2,"entityVersionId":1,"percentage":3.0,"appliedRetention":true,"appliedDeduction":true,"appliedPercByProgress":true,"sectionId":4,"sectionCode":"sample string 5"}]
application/xml, text/xml
Sample:
<ArrayOfCertificationIncludedEntitiesCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.CertificationAgg">
<CertificationIncludedEntitiesCreateDto>
<AppliedDeduction>true</AppliedDeduction>
<AppliedPercByProgress>true</AppliedPercByProgress>
<AppliedRetention>true</AppliedRetention>
<BusinessEntityTypeId>Subcontract</BusinessEntityTypeId>
<CertificationConceptId>1</CertificationConceptId>
<EntityId>2</EntityId>
<EntityVersionId>1</EntityVersionId>
<Percentage>3</Percentage>
<SectionCode>sample string 5</SectionCode>
<SectionId>4</SectionId>
</CertificationIncludedEntitiesCreateDto>
<CertificationIncludedEntitiesCreateDto>
<AppliedDeduction>true</AppliedDeduction>
<AppliedPercByProgress>true</AppliedPercByProgress>
<AppliedRetention>true</AppliedRetention>
<BusinessEntityTypeId>Subcontract</BusinessEntityTypeId>
<CertificationConceptId>1</CertificationConceptId>
<EntityId>2</EntityId>
<EntityVersionId>1</EntityVersionId>
<Percentage>3</Percentage>
<SectionCode>sample string 5</SectionCode>
<SectionId>4</SectionId>
</CertificationIncludedEntitiesCreateDto>
</ArrayOfCertificationIncludedEntitiesCreateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | boolean |
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.