POST api1/Adjustment

Request Information

URI Parameters

None.

Body Parameters

AdjustmentDTO
NameDescriptionTypeAdditional information
AdjustmentID

integer

None.

ContractID

integer

None.

ContractOwnerID

integer

None.

OwnershipStructureID

integer

None.

ProductHierarchyLevel2ID

integer

None.

DateOfAdjustment

date

None.

UnitsAdjusted

integer

None.

SalesAmountAdjusted

decimal number

None.

RoyaltyAmountAdjusted

decimal number

None.

ReasonForAdjustment

string

None.

SendToSAP

boolean

None.

IsProcessed

boolean

None.

IsSentToSAP

boolean

None.

CalculatedFiscalPeriod

string

None.

CalculatedFiscalYear

string

None.

OriginalUser

string

None.

OriginalDateTime

date

None.

UpdateUser

string

None.

UpdateDateTime

date

None.

Contract

ContractDTO

None.

ContractOwner

VendorDTO

None.

OwnershipStructure

OwnershipStructureDTO

None.

ProductHierarchyLevel2

ProductHierarchyLevel2DTO

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 for property 'ExceptionSchedule' with type 'GENEX.Royalty.DTO.ScheduleDTO'. Path 'Contract.Schedules[0].ExceptionScheduleContinentCountry[0]'.

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 for property 'ExceptionSchedule' with type 'GENEX.Royalty.DTO.ScheduleDTO'. Path 'Contract.Schedules[0].ExceptionScheduleContinentCountry[0]'.

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 'AdjustmentDTO'.

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.