CreateJob
From
(Difference between revisions)
Latest revision as of 17:40, 21 February 2019
Contents |
[edit] Method
CreateJobResult createJob(UserIDBean userID, JobBean job, Calendar whenExternalCreated)
[edit] Description
Creates a new job, based on the data passed in. The data is contained in a JobBean, which contains basic information related to the job to be created. The method will also accept a JobCustomerBean as in place of the JobBean. A JobCustomerBean also contains a CustomerBean which will contain the customer information related to the job. If the customer does not exist on Yiguirro, a new customer will be created, based on the information, and the created job will be linked to the new customer.
[edit] Parameters
Type | Name | Description |
---|---|---|
UserIDBean | userID | The admin username and password. |
JobBean | job | The JobBean or JobCustomerBean representing the details of the job to create. |
Calendar | whenExternalCreated | The date and time the job was externally created. |