POST api1/OwnershipPercent

Request Information

URI Parameters

None.

Body Parameters

Collection of OwnershipPercentDTO
NameDescriptionTypeAdditional information
OwnershipPercentID

integer

None.

ContractOwnerID

integer

None.

OwnershipStructureID

integer

None.

Percentage

decimal number

None.

OriginalUser

string

None.

OriginalDateTime

date

None.

UpdateUser

string

None.

UpdateDateTime

date

None.

ChangeEffectiveDate

date

None.

Place

string

None.

ContractOwner

VendorDTO

None.

OwnershipStructure

OwnershipStructureDTO

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 '[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].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.VendorDTO' 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.VendorDTO' 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 'IList`1'.

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.