ApexERPHost

<back to all web services

GetPayRoll

Requires Authentication
The following routes are available for this service:
GET/Accounting/PayRoll/{RollId}
GET/Accounting/PayRoll
GetPayRoll Parameters:
NameParameterData TypeRequiredDescription
RollIdpathint?No
D1queryDateTimeNo
D2queryDateTimeNo
PayDate1queryDateTime?No
PayDate2queryDateTime?No
GetPayRollResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<PayRollView>No
PayRollView Parameters:
NameParameterData TypeRequiredDescription
RollIdformintNo
RollTypeformintNo
DDateformDateTimeNo
RollNumformstringNo
ContentformstringNo
StatusformintNo
CrTimeformDateTimeNo
CUserformstringNo
SalaryformdecimalNo
AmountformdecimalNo
TaxAmauntformdecimalNo
RollPeriodformDateTime?No
PensionPersonalAmountformdecimalNo
PensionCompanyAmountformdecimalNo

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.

GET /Accounting/PayRoll/{RollId} HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
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: 
	[
		{
			RollId: 0,
			RollType: 0,
			DDate: 0001-01-01,
			RollNum: String,
			Content: String,
			Status: 0,
			CrTime: 0001-01-01,
			CUser: String,
			Salary: 0,
			Amount: 0,
			TaxAmaunt: 0,
			RollPeriod: 0001-01-01,
			PensionPersonalAmount: 0,
			PensionCompanyAmount: 0
		}
	]
}