ApexERPHost

<back to all web services

SaveHRSltsw

Requires Authentication
The following routes are available for this service:
POST/HR/Sltsw
SaveHRSltsw Parameters:
NameParameterData TypeRequiredDescription
SltswbodySltsw_DTONo
Sltsw_DTO Parameters:
NameParameterData TypeRequiredDescription
TswIdformintNo
CanceledformboolNo
PwNameformstringNo
PwNameeformstringNo
Date1formDateTime?No
Date2formDateTime?No
UserIdformint?No
DefvalformboolNo
SaveHRSltswResponse 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/Sltsw HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Sltsw: 
	{
		TswId: 0,
		Canceled: False,
		PwName: String,
		PwNamee: String,
		Date1: 0001-01-01,
		Date2: 0001-01-01,
		UserId: 0,
		Defval: False
	}
}
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
}