GET api/v2/CommercialRestriction/GetCommercialRestrictionFlagsByAccountId/{accountId}
Request
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | integer |
Required |
Response
CommercialRestrictionsFlagsByAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer | ||
| BlockSendSamplesAndDocumentsToPortal | boolean | ||
| BlockReceiveSample | boolean | ||
| BlockCreateSample | boolean | ||
| BlockCreateWork | boolean | ||
| BlockWorkAdvanceStep | boolean |
Response Format
application/json, text/json
Sample:
{
"AccountId": 1,
"BlockSendSamplesAndDocumentsToPortal": true,
"BlockReceiveSample": true,
"BlockCreateSample": true,
"BlockCreateWork": true,
"BlockWorkAdvanceStep": true
}
text/html
Sample:
{"AccountId":1,"BlockSendSamplesAndDocumentsToPortal":true,"BlockReceiveSample":true,"BlockCreateSample":true,"BlockCreateWork":true,"BlockWorkAdvanceStep":true}