POST api/ReferenceData/Product/CreateOrUpdate
Request Information
URI Parameters
None.
Body Parameters
Collection of ProductEntityModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SourceString | string |
None. |
|
| Abbreviation | string |
None. |
|
| AllowWeightedDistribution | boolean |
None. |
|
| IsActive | boolean |
None. |
|
| IsPricingProduct | boolean |
None. |
|
| Name | string |
None. |
|
| ProductId | integer |
None. |
|
| ProductTypeCvId | integer |
None. |
|
| PropertyListId | integer |
None. |
|
| SortOrder | integer |
None. |
|
| SourceExtractedDateTime | date |
None. |
|
| SourceId | integer |
None. |
|
| SourceId2 | integer |
None. |
|
| SourceId3 | integer |
None. |
|
| SourceSystemId | integer |
None. |
|
| SourceVerb | string |
None. |
|
| Symbol | string |
None. |
|
| Extras | Dictionary of string [key] and Object [value] |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"SourceString": "sample string 1",
"Abbreviation": "sample string 2",
"AllowWeightedDistribution": true,
"IsActive": true,
"IsPricingProduct": true,
"Name": "sample string 5",
"ProductId": 6,
"ProductTypeCvId": 1,
"PropertyListId": 1,
"SortOrder": 1,
"SourceExtractedDateTime": "2025-12-10T08:23:11.8796915-06:00",
"SourceId": 1,
"SourceId2": 1,
"SourceId3": 1,
"SourceSystemId": 1,
"SourceVerb": "sample string 7",
"Symbol": "sample string 8",
"Extras": {
"sample string 1": {},
"sample string 3": {}
}
},
{
"SourceString": "sample string 1",
"Abbreviation": "sample string 2",
"AllowWeightedDistribution": true,
"IsActive": true,
"IsPricingProduct": true,
"Name": "sample string 5",
"ProductId": 6,
"ProductTypeCvId": 1,
"PropertyListId": 1,
"SortOrder": 1,
"SourceExtractedDateTime": "2025-12-10T08:23:11.8796915-06:00",
"SourceId": 1,
"SourceId2": 1,
"SourceId3": 1,
"SourceSystemId": 1,
"SourceVerb": "sample string 7",
"Symbol": "sample string 8",
"Extras": {
"sample string 1": {},
"sample string 3": {}
}
}
]
text/html
Sample:
[{"SourceString":"sample string 1","Abbreviation":"sample string 2","AllowWeightedDistribution":true,"IsActive":true,"IsPricingProduct":true,"Name":"sample string 5","ProductId":6,"ProductTypeCvId":1,"PropertyListId":1,"SortOrder":1,"SourceExtractedDateTime":"2025-12-10T08:23:11.8796915-06:00","SourceId":1,"SourceId2":1,"SourceId3":1,"SourceSystemId":1,"SourceVerb":"sample string 7","Symbol":"sample string 8","Extras":{"sample string 1":{},"sample string 3":{}}},{"SourceString":"sample string 1","Abbreviation":"sample string 2","AllowWeightedDistribution":true,"IsActive":true,"IsPricingProduct":true,"Name":"sample string 5","ProductId":6,"ProductTypeCvId":1,"PropertyListId":1,"SortOrder":1,"SourceExtractedDateTime":"2025-12-10T08:23:11.8796915-06:00","SourceId":1,"SourceId2":1,"SourceId3":1,"SourceSystemId":1,"SourceVerb":"sample string 7","Symbol":"sample string 8","Extras":{"sample string 1":{},"sample string 3":{}}}]
application/xml, text/xml
Sample:
<ArrayOfProductEntityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gravitate.Domain.CoreModel.DtoClasses">
<ProductEntityModel>
<Extras xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Gravitate.Domain.CoreModel.Extensibility">
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
</Extras>
<Abbreviation>sample string 2</Abbreviation>
<AllowWeightedDistribution>true</AllowWeightedDistribution>
<IsActive>true</IsActive>
<IsPricingProduct>true</IsPricingProduct>
<Name>sample string 5</Name>
<ProductId>6</ProductId>
<ProductTypeCvId>1</ProductTypeCvId>
<PropertyListId>1</PropertyListId>
<SortOrder>1</SortOrder>
<SourceExtractedDateTime>2025-12-10T08:23:11.8796915-06:00</SourceExtractedDateTime>
<SourceId>1</SourceId>
<SourceId2>1</SourceId2>
<SourceId3>1</SourceId3>
<SourceString>sample string 1</SourceString>
<SourceSystemId>1</SourceSystemId>
<SourceVerb>sample string 7</SourceVerb>
<Symbol>sample string 8</Symbol>
</ProductEntityModel>
<ProductEntityModel>
<Extras xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Gravitate.Domain.CoreModel.Extensibility">
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
</Extras>
<Abbreviation>sample string 2</Abbreviation>
<AllowWeightedDistribution>true</AllowWeightedDistribution>
<IsActive>true</IsActive>
<IsPricingProduct>true</IsPricingProduct>
<Name>sample string 5</Name>
<ProductId>6</ProductId>
<ProductTypeCvId>1</ProductTypeCvId>
<PropertyListId>1</PropertyListId>
<SortOrder>1</SortOrder>
<SourceExtractedDateTime>2025-12-10T08:23:11.8796915-06:00</SourceExtractedDateTime>
<SourceId>1</SourceId>
<SourceId2>1</SourceId2>
<SourceId3>1</SourceId3>
<SourceString>sample string 1</SourceString>
<SourceSystemId>1</SourceSystemId>
<SourceVerb>sample string 7</SourceVerb>
<Symbol>sample string 8</Symbol>
</ProductEntityModel>
</ArrayOfProductEntityModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json, text/html
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>