POST api/Supplements/{supplementId}/Versions/{supplementVersionId}/Others
Asignación de Others a incluir en la {supplementVersionId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| supplementId | integer |
Required |
|
| supplementVersionId | integer |
Required |
Body Parameters
Collection of SupplementVariationsCreateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| BusinessEntityTypeId | integer |
Required |
|
| EntityId | integer |
Required |
|
| EntityVersionId | integer |
Required |
Request Formats
application/json, text/json
Sample:
[
{
"businessEntityTypeId": 1,
"entityId": 2,
"entityVersionId": 3
},
{
"businessEntityTypeId": 1,
"entityId": 2,
"entityVersionId": 3
}
]
text/html
Sample:
[{"businessEntityTypeId":1,"entityId":2,"entityVersionId":3},{"businessEntityTypeId":1,"entityId":2,"entityVersionId":3}]
application/xml, text/xml
Sample:
<ArrayOfSupplementVariationsCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.SuplementAgg">
<SupplementVariationsCreateDto>
<BusinessEntityTypeId>1</BusinessEntityTypeId>
<EntityId>2</EntityId>
<EntityVersionId>3</EntityVersionId>
</SupplementVariationsCreateDto>
<SupplementVariationsCreateDto>
<BusinessEntityTypeId>1</BusinessEntityTypeId>
<EntityId>2</EntityId>
<EntityVersionId>3</EntityVersionId>
</SupplementVariationsCreateDto>
</ArrayOfSupplementVariationsCreateDto>
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.