POST api/tenant/batches-tests/create
Request Information
URI Parameters
None.
Body Parameters
RecBatchesTestsDTOW| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
Required Max length: 100 |
|
| description | string |
Required Max length: 100 |
|
| job_id | integer |
Required |
|
| test_type | integer |
Required |
|
| address | string |
Max length: 500 |
|
| contact_person | string |
Required Max length: 100 |
|
| test_date | date |
Required |
|
| test_time | string |
Required |
|
| test_id | integer |
Required |
|
| take_at_test_centre | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"description": "sample string 2",
"job_id": 3,
"test_type": 4,
"address": "sample string 5",
"contact_person": "sample string 6",
"test_date": "2026-03-21T22:16:17.6871435+00:00",
"test_time": "sample string 8",
"test_id": 9,
"take_at_test_centre": true
}
application/xml, text/xml
Sample:
<RecBatchesTestsDTOW xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xceed365EngageApi.core.DTOs.Writable"> <address>sample string 5</address> <code>sample string 1</code> <contact_person>sample string 6</contact_person> <description>sample string 2</description> <job_id>3</job_id> <take_at_test_centre>true</take_at_test_centre> <test_date>2026-03-21T22:16:17.6871435+00:00</test_date> <test_id>9</test_id> <test_time>sample string 8</test_time> <test_type>4</test_type> </RecBatchesTestsDTOW>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.