ApexERPHost

<back to all web services

SaveDeclaredPriceGroup

Requires Authentication
The following routes are available for this service:
POST/Warehousing/DeclaredPrices/Groups
SaveDeclaredPriceGroup Parameters:
NameParameterData TypeRequiredDescription
ItembodyDeclaredPriceGroupNo
DeclaredPriceGroup Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
TypeformintNo
NameformstringNo
SharedformboolNo
Margineformdecimal?No
StartDateformDateTime?No
EndDateformDateTime?No
SpendformboolNo
CUserformstringNo
CrTimeformDateTime?No
CurrencyIdformstringNo
PriceTypeformintNo
SaveDeclaredPriceGroupResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformDeclaredPriceGroupNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Warehousing/DeclaredPrices/Groups HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Item: 
	{
		Id: 0,
		Type: 0,
		Name: String,
		Shared: False,
		Margine: 0,
		StartDate: 0001-01-01,
		EndDate: 0001-01-01,
		Spend: False,
		CUser: String,
		CrTime: 0001-01-01,
		CurrencyId: String,
		PriceType: 0
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	Result: 
	{
		Id: 0,
		Type: 0,
		Name: String,
		Shared: False,
		Margine: 0,
		StartDate: 0001-01-01,
		EndDate: 0001-01-01,
		Spend: False,
		CUser: String,
		CrTime: 0001-01-01,
		CurrencyId: String,
		PriceType: 0
	}
}