PUT api1/OwnershipStructure

Request Information

URI Parameters

None.

Body Parameters

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.

Request 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 '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 '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 'GENEX.Royalty.DTO.ContractOwnerStatusDTO' 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 'GENEX.Royalty.DTO.ContractOwnerStatusDTO' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OwnershipStructureDTO'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.