POST api/ProductRevenue
Request Information
URI Parameters
None.
Body Parameters
ProductRevenueModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ProductId | integer |
Range: inclusive between 1 and 2147483647 |
|
Mcc | string |
String length: inclusive between 1 and 10 |
|
Currency | string |
String length: inclusive between 1 and 50 |
|
Mnc | string |
String length: inclusive between 1 and 10 |
|
Revenue | decimal number |
None. |
|
GmRevenue | decimal number |
None. |
|
GmPercentage | decimal number |
None. |
|
Hits | integer |
None. |
|
ReportDate | date |
Data type: Date Range: inclusive between 1/1/1950 and 12/31/4000 |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "ProductId": 2, "Mcc": "sample string 3", "Currency": "sample string 4", "Mnc": "sample string 5", "Revenue": 6.1, "GmRevenue": 7.1, "GmPercentage": 8.1, "Hits": 9, "ReportDate": "2024-11-26T04:40:12.8019388+02:00" }
application/xml, text/xml
Sample:
<ProductRevenueModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SARA_PRProduct.Models"> <Currency>sample string 4</Currency> <GmPercentage>8.1</GmPercentage> <GmRevenue>7.1</GmRevenue> <Hits>9</Hits> <Id>1</Id> <Mcc>sample string 3</Mcc> <Mnc>sample string 5</Mnc> <ProductId>2</ProductId> <ReportDate>2024-11-26T04:40:12.8019388+02:00</ReportDate> <Revenue>6.1</Revenue> </ProductRevenueModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |