Skip to content

Latest commit

 

History

History
120 lines (82 loc) · 4.63 KB

File metadata and controls

120 lines (82 loc) · 4.63 KB

ObjectEmployeeAPI

All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest

Method HTTP request Description
employeeGetListV1 GET /1/object/employee/getList Retrieve Employee list
employeeImportIntoEDMV1 POST /1/object/employee/{pkiEmployeeID}/importIntoEDM Import attachments into the Employee

employeeGetListV1

    open class func employeeGetListV1(eOrderBy: EOrderBy_employeeGetListV1? = nil, iRowMax: Int? = nil, iRowOffset: Int? = nil, acceptLanguage: HeaderAcceptLanguage? = nil, sFilter: String? = nil, completion: @escaping (_ data: EmployeeGetListV1Response?, _ error: Error?) -> Void)

Retrieve Employee list

Example

// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import OpenAPIClient

let eOrderBy = "eOrderBy_example" // String | Specify how you want the results to be sorted (optional)
let iRowMax = 987 // Int |  (optional)
let iRowOffset = 987 // Int |  (optional) (default to 0)
let acceptLanguage = Header-Accept-Language() // HeaderAcceptLanguage |  (optional)
let sFilter = "sFilter_example" // String |  (optional)

// Retrieve Employee list
ObjectEmployeeAPI.employeeGetListV1(eOrderBy: eOrderBy, iRowMax: iRowMax, iRowOffset: iRowOffset, acceptLanguage: acceptLanguage, sFilter: sFilter) { (response, error) in
    guard error == nil else {
        print(error)
        return
    }

    if (response) {
        dump(response)
    }
}

Parameters

Name Type Description Notes
eOrderBy String Specify how you want the results to be sorted [optional]
iRowMax Int [optional]
iRowOffset Int [optional] [default to 0]
acceptLanguage HeaderAcceptLanguage [optional]
sFilter String [optional]

Return type

EmployeeGetListV1Response

Authorization

Authorization

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

[Back to top] [Back to API list] [Back to Model list] [Back to README]

employeeImportIntoEDMV1

    open class func employeeImportIntoEDMV1(pkiEmployeeID: Int, employeeImportIntoEDMV1Request: EmployeeImportIntoEDMV1Request, completion: @escaping (_ data: EmployeeImportIntoEDMV1Response?, _ error: Error?) -> Void)

Import attachments into the Employee

Example

// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import OpenAPIClient

let pkiEmployeeID = 987 // Int | 
let employeeImportIntoEDMV1Request = employee-importIntoEDM-v1-Request(aObjAttachment: [Custom-AttachmentImportIntoEDM-Request(eAttachmentSource: "eAttachmentSource_example", fkiAttachmentID: 123, fkiInscriptionchecklistID: 123, sAttachmentUrl: "sAttachmentUrl_example", sAttachmentBase64: 123, sAttachmentName: "sAttachmentName_example", sAttachmentCategory: "sAttachmentCategory_example", eAttachmentPrivacy: Field-eAttachmentPrivacy(), fkiUserIDSpecific: 123, sAttachmentMD5: "sAttachmentMD5_example", bAttachmentForceoverwrite: false, bAttachmentForcerestore: false)]) // EmployeeImportIntoEDMV1Request | 

// Import attachments into the Employee
ObjectEmployeeAPI.employeeImportIntoEDMV1(pkiEmployeeID: pkiEmployeeID, employeeImportIntoEDMV1Request: employeeImportIntoEDMV1Request) { (response, error) in
    guard error == nil else {
        print(error)
        return
    }

    if (response) {
        dump(response)
    }
}

Parameters

Name Type Description Notes
pkiEmployeeID Int
employeeImportIntoEDMV1Request EmployeeImportIntoEDMV1Request

Return type

EmployeeImportIntoEDMV1Response

Authorization

Authorization

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]