GET api1/OwnershipStructure?contractID={contractID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contractID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of OwnershipStructureDTO
NameDescriptionTypeAdditional information
OwnershipStructureID

integer

None.

ContinentID

integer

None.

CountryID

integer

None.

ContractID

integer

None.

CompanyDivisionID

integer

None.

OriginalUser

string

None.

OriginalDateTime

date

None.

UpdateUser

string

None.

UpdateDateTime

date

None.

CountryContinent

CountryContinentDTO

None.

Country

CountryDTO

None.

Continent

ContinentDTO

None.

CompanyDivision

CompanyDivisionDTO

None.

OwnershipPercent

Collection of OwnershipPercentDTO

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'GENEX.Royalty.DTO.OwnershipPercentDTO'. Path '[0].OwnershipPercent[0].ContractOwner.OwnershipPercent'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'GENEX.Royalty.DTO.OwnershipPercentDTO'. Path '[0].OwnershipPercent[0].ContractOwner.OwnershipPercent'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[GENEX.Royalty.DTO.ContractOwnerStatusDTO, GENEX.Royalty.DTO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[GENEX.Royalty.DTO.ContractOwnerStatusDTO, GENEX.Royalty.DTO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.