ApexERPHost

<back to all web services

SaveHRPosition

ინახავს თანამდებობას თანამდებობების ცხრილში

Requires Authentication
The following routes are available for this service:
POST/HR/Position
SaveHRPosition Parameters:
NameParameterData TypeRequiredDescription
PositionbodyPositionNoთანამდებობა
Position Parameters:
NameParameterData TypeRequiredDescription
CodeidformintNo
HnameformstringNo
HnameeformstringNo
Mgridformint?No
HcodeformstringNo
UnidformGuidNo
CrtimeformDateTimeNo
WvgformdecimalNo
WvuformdecimalNo
WhourformdecimalNo
DefvalformboolNo
PosttypeformintNo
MaxworkdayformintNo
RefidformintNo
SaveHRPositionResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformintNo

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 /HR/Position HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Position: 
	{
		Codeid: 0,
		Hname: String,
		Hnamee: String,
		Mgrid: 0,
		Hcode: String,
		Unid: 00000000000000000000000000000000,
		Crtime: 0001-01-01,
		Wvg: 0,
		Wvu: 0,
		Whour: 0,
		Defval: False,
		Posttype: 0,
		Maxworkday: 0,
		Refid: 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: 0
}