CreateDrgRouteDistribution
POST {{baseUrl}}/drgRouteDistributions
Creates a new route distribution for the specified DRG.
Assign the route distribution as an import distribution to a DRG route table using the UpdateDrgRouteTable
or CreateDrgRouteTable
operations.
Assign the route distribution as an export distribution to a DRG attachment
using the UpdateDrgAttachment
or CreateDrgAttachment
operations.
Request Body
{"drgId"=>"magna non eiusmod", "distributionType"=>"IMPORT", "displayName"=>"ut magna aut"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations (for example, if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
may be rejected). | |||
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |
RESPONSES
status: OK
{"drgId":"quis occaecat","id":"id Duis cillum","timeCreated":"2006-09-26T21:01:13.595Z","lifecycleState":"AVAILABLE","compartmentId":"id culpa v","distributionType":"IMPORT","definedTags":{},"displayName":"ut Lorem ea dolor magna","freeformTags":{}}