License API
{ urn:com.soa.license.api } LicenseAPI
The Licenses service provides operations for managing API licenses.
POST/licensesaddLicense
Parameters
Accepts application/xml application/json application/vnd.soa.v71+json application/vnd.soa.v72+json application/vnd.soa.v80+json application/vnd.soa.v71+xml application/vnd.soa.v72+xml application/vnd.soa.v80+xml application/vnd.soa.v81+json application/vnd.soa.v81+xml
Name
Type
Description
Model
body
entity
License
License {
LicensePart {
AgreementDocument {
TargetResource {
Image {
LicenseParts( Collection of LicensePart, required )
Active( boolean )
Description( string )
ProductionAccessAutoApproved( boolean, required )
Environment( Collection of string )
Visibility( string, required )
SandboxAccessAutoApproved( boolean, required )
LicenseID( string, required )
BusinessID( string )
Name( string, required )
AgreementDetails( Collection of AgreementDocument, required )
}
LicensePart {
PolicyKey( Collection of string )
ResourceID( Collection of string )
Name( string )
}
AgreementDocument {
AgreementType( string, required )
DocumentState( string, required )
Description( string )
FileName( string, required )
DocumentID( string )
ResourceType( string )
ContentPath( string, required )
Name( string, required )
TargetResources( Collection of TargetResource, required )
Active( boolean, required )
PrintContentPath( string, required )
PrintVersion( int )
ResourceID( string )
MetadataResourceURI( string )
MetadataResourceVersion( int )
PrintResourceURI( string )
Link( string, required )
}
TargetResource {
Type( string )
IsResourceLevelPermissionSupported( boolean )
Visibility( string )
ID( string )
Image( Image, required )
Avatar( string )
Name( string )
}
Image {
Description( string )
Title( string, required )
Url( anyURI, required )
Link( anyURI, required )
}
Reponse
Produces application/xmlapplication/jsonapplication/vnd.soa.v71+jsonapplication/vnd.soa.v72+jsonapplication/vnd.soa.v80+jsonapplication/vnd.soa.v71+xmlapplication/vnd.soa.v72+xmlapplication/vnd.soa.v80+xmlapplication/vnd.soa.v81+jsonapplication/vnd.soa.v81+xml
Status Code
Reason
Model
200
Success
License
License {
LicensePart {
AgreementDocument {
TargetResource {
Image {
LicenseParts( Collection of LicensePart )
Active( boolean )
Description( string )
ProductionAccessAutoApproved( boolean )
Environment( Collection of string )
Visibility( string )
SandboxAccessAutoApproved( boolean )
LicenseID( string )
BusinessID( string )
Name( string )
AgreementDetails( Collection of AgreementDocument )
}
LicensePart {
PolicyKey( Collection of string )
ResourceID( Collection of string )
Name( string )
}
AgreementDocument {
AgreementType( string )
DocumentState( string )
Description( string )
FileName( string )
DocumentID( string )
ResourceType( string )
ContentPath( string )
Name( string )
TargetResources( Collection of TargetResource )
Active( boolean )
PrintContentPath( string )
PrintVersion( int )
ResourceID( string )
MetadataResourceURI( string )
MetadataResourceVersion( int )
PrintResourceURI( string )
Link( string )
}
TargetResource {
Type( string )
IsResourceLevelPermissionSupported( boolean )
Visibility( string )
ID( string )
Image( Image )
Avatar( string )
Name( string )
}
Image {
Description( string )
Title( string )
Url( anyURI )
Link( anyURI )
}
GET/licenses/{LicenseID}getLicense
Parameters
Name
Type
Description
Model
LicenseID
path
string
Reponse
Produces application/xmlapplication/jsonapplication/vnd.soa.v71+jsonapplication/vnd.soa.v72+jsonapplication/vnd.soa.v80+jsonapplication/vnd.soa.v71+xmlapplication/vnd.soa.v72+xmlapplication/vnd.soa.v80+xmlapplication/vnd.soa.v81+jsonapplication/vnd.soa.v81+xml
Status Code
Reason
Model
200
Success
LicenseDetails
LicenseDetails {
LicensePartDetails {
Policy {
Resource {
AgreementDocument {
TargetResource {
Image {
Active( boolean )
Description( string )
ProductionAccessAutoApproved( boolean )
Environment( Collection of string )
Visibility( string )
SandboxAccessAutoApproved( boolean )
LicenseID( string )
LicensePartsDetails( Collection of LicensePartDetails )
BusinessID( string )
Name( string )
AgreementDetails( Collection of AgreementDocument )
}
LicensePartDetails {
Policies( Collection of Policy )
Resource( Collection of Resource )
Name( string )
}
Policy {
PolicyType( string )
PolicyKey( string )
Description( string )
PolicySubType( string )
PolicyConfiguration( string )
BusinessID( string )
Name( string )
}
Resource {
OAuthGrantDefaultResource( boolean )
ChildResources( Collection of Resource )
Name( string )
ShortDescription( string )
SandboxAnonymousAccessAllowed( boolean )
LongDescription( string )
ParentResourceID( string )
ResourcePath( string )
ResourceID( string )
ProductionAnonymousAccessAllowed( boolean )
OAuthGrantUserAuthorizationRequired( boolean )
Visibility( string )
BusinessID( string )
}
AgreementDocument {
AgreementType( string )
DocumentState( string )
Description( string )
FileName( string )
DocumentID( string )
ResourceType( string )
ContentPath( string )
Name( string )
TargetResources( Collection of TargetResource )
Active( boolean )
PrintContentPath( string )
PrintVersion( int )
ResourceID( string )
MetadataResourceURI( string )
MetadataResourceVersion( int )
PrintResourceURI( string )
Link( string )
}
TargetResource {
Type( string )
IsResourceLevelPermissionSupported( boolean )
Visibility( string )
ID( string )
Image( Image )
Avatar( string )
Name( string )
}
Image {
Description( string )
Title( string )
Url( anyURI )
Link( anyURI )
}
DELETE/licenses/{LicenseID}deleteLicense
Parameters
Name
Type
Description
Model
LicenseID
path
string
Reponse
Produces application/xmlapplication/jsonapplication/vnd.soa.v71+jsonapplication/vnd.soa.v72+jsonapplication/vnd.soa.v80+jsonapplication/vnd.soa.v71+xmlapplication/vnd.soa.v72+xmlapplication/vnd.soa.v80+xmlapplication/vnd.soa.v81+jsonapplication/vnd.soa.v81+xml
Status Code
Reason
Model
200
Success
License
License {
LicensePart {
AgreementDocument {
TargetResource {
Image {
LicenseParts( Collection of LicensePart )
Active( boolean )
Description( string )
ProductionAccessAutoApproved( boolean )
Environment( Collection of string )
Visibility( string )
SandboxAccessAutoApproved( boolean )
LicenseID( string )
BusinessID( string )
Name( string )
AgreementDetails( Collection of AgreementDocument )
}
LicensePart {
PolicyKey( Collection of string )
ResourceID( Collection of string )
Name( string )
}
AgreementDocument {
AgreementType( string )
DocumentState( string )
Description( string )
FileName( string )
DocumentID( string )
ResourceType( string )
ContentPath( string )
Name( string )
TargetResources( Collection of TargetResource )
Active( boolean )
PrintContentPath( string )
PrintVersion( int )
ResourceID( string )
MetadataResourceURI( string )
MetadataResourceVersion( int )
PrintResourceURI( string )
Link( string )
}
TargetResource {
Type( string )
IsResourceLevelPermissionSupported( boolean )
Visibility( string )
ID( string )
Image( Image )
Avatar( string )
Name( string )
}
Image {
Description( string )
Title( string )
Url( anyURI )
Link( anyURI )
}
PUT/licenses/{LicenseID}updateLicense
Parameters
Accepts application/xml application/json application/vnd.soa.v71+json application/vnd.soa.v72+json application/vnd.soa.v80+json application/vnd.soa.v71+xml application/vnd.soa.v72+xml application/vnd.soa.v80+xml application/vnd.soa.v81+json application/vnd.soa.v81+xml
Name
Type
Description
Model
LicenseID
path
string
body
entity
License
License {
LicensePart {
AgreementDocument {
TargetResource {
Image {
LicenseParts( Collection of LicensePart, required )
Active( boolean )
Description( string )
ProductionAccessAutoApproved( boolean, required )
Environment( Collection of string )
Visibility( string, required )
SandboxAccessAutoApproved( boolean, required )
LicenseID( string, required )
BusinessID( string )
Name( string, required )
AgreementDetails( Collection of AgreementDocument, required )
}
LicensePart {
PolicyKey( Collection of string )
ResourceID( Collection of string )
Name( string )
}
AgreementDocument {
AgreementType( string, required )
DocumentState( string, required )
Description( string )
FileName( string, required )
DocumentID( string )
ResourceType( string )
ContentPath( string, required )
Name( string, required )
TargetResources( Collection of TargetResource, required )
Active( boolean, required )
PrintContentPath( string, required )
PrintVersion( int )
ResourceID( string )
MetadataResourceURI( string )
MetadataResourceVersion( int )
PrintResourceURI( string )
Link( string, required )
}
TargetResource {
Type( string )
IsResourceLevelPermissionSupported( boolean )
Visibility( string )
ID( string )
Image( Image, required )
Avatar( string )
Name( string )
}
Image {
Description( string )
Title( string, required )
Url( anyURI, required )
Link( anyURI, required )
}
Reponse
Produces application/xmlapplication/jsonapplication/vnd.soa.v71+jsonapplication/vnd.soa.v72+jsonapplication/vnd.soa.v80+jsonapplication/vnd.soa.v71+xmlapplication/vnd.soa.v72+xmlapplication/vnd.soa.v80+xmlapplication/vnd.soa.v81+jsonapplication/vnd.soa.v81+xml
Status Code
Reason
Model
200
Success
License
License {
LicensePart {
AgreementDocument {
TargetResource {
Image {
LicenseParts( Collection of LicensePart )
Active( boolean )
Description( string )
ProductionAccessAutoApproved( boolean )
Environment( Collection of string )
Visibility( string )
SandboxAccessAutoApproved( boolean )
LicenseID( string )
BusinessID( string )
Name( string )
AgreementDetails( Collection of AgreementDocument )
}
LicensePart {
PolicyKey( Collection of string )
ResourceID( Collection of string )
Name( string )
}
AgreementDocument {
AgreementType( string )
DocumentState( string )
Description( string )
FileName( string )
DocumentID( string )
ResourceType( string )
ContentPath( string )
Name( string )
TargetResources( Collection of TargetResource )
Active( boolean )
PrintContentPath( string )
PrintVersion( int )
ResourceID( string )
MetadataResourceURI( string )
MetadataResourceVersion( int )
PrintResourceURI( string )
Link( string )
}
TargetResource {
Type( string )
IsResourceLevelPermissionSupported( boolean )
Visibility( string )
ID( string )
Image( Image )
Avatar( string )
Name( string )
}
Image {
Description( string )
Title( string )
Url( anyURI )
Link( anyURI )
}
GET/licenses/{LicenseID}/packageexportLicense
Parameters
Name
Type
Description
Model
LicenseID
path
string
Reponse
Produces application/jsonapplication/vnd.soa.v71+jsonapplication/vnd.soa.v72+jsonapplication/vnd.soa.v80+jsonapplication/octet-streamapplication/vnd.soa.v81+json
Status Code
Reason
Model
200
Success
any
PUT/licenses/{LicenseID}/statechangeLicenseState
Parameters
Accepts application/xml application/json application/vnd.soa.v71+json application/vnd.soa.v72+json application/vnd.soa.v80+json application/vnd.soa.v71+xml application/vnd.soa.v72+xml application/vnd.soa.v80+xml application/vnd.soa.v81+json application/vnd.soa.v81+xml
Name
Type
Description
Model
LicenseID
path
string
body
entity
ChangeLicenseState
ChangeLicenseState {
Active( boolean, required )
}
Reponse
Produces text/plain
Status Code
Reason
Model
200
Success
string
PUT/licenses/{LicenseID}/legals/{LegalDocumentDN}/statemodifyLegalState
Parameters
Accepts application/xml application/json application/vnd.soa.v71+json application/vnd.soa.v72+json application/vnd.soa.v80+json application/vnd.soa.v71+xml application/vnd.soa.v72+xml application/vnd.soa.v80+xml application/vnd.soa.v81+json application/vnd.soa.v81+xml
Name
Type
Description
Model
LicenseID
path
string
LegalDocumentDN
path
string
body
entity
AgreementDocument
AgreementDocument {
TargetResource {
Image {
AgreementType( string, required )
DocumentState( string, required )
Description( string )
FileName( string, required )
DocumentID( string )
ResourceType( string )
ContentPath( string, required )
Name( string, required )
TargetResources( Collection of TargetResource, required )
Active( boolean, required )
PrintContentPath( string, required )
PrintVersion( int )
ResourceID( string )
MetadataResourceURI( string )
MetadataResourceVersion( int )
PrintResourceURI( string )
Link( string, required )
}
TargetResource {
Type( string )
IsResourceLevelPermissionSupported( boolean )
Visibility( string )
ID( string )
Image( Image, required )
Avatar( string )
Name( string )
}
Image {
Description( string )
Title( string, required )
Url( anyURI, required )
Link( anyURI, required )
}
Reponse
Produces text/plain
Status Code
Reason
Model
200
Success
any