ServiceContract
Resource
Contracts
Module
Endpoints | URI | Access Control | Description |
---|---|---|---|
save | POST /api/ServiceContract/save |
Admin or Module WRITE | |
delete | POST /api/ServiceContract/delete |
Admin or Module WRITE | |
find | GET /api/ServiceContract/find |
Admin or Module READ | |
get | GET /api/ServiceContract/get |
Admin or Module READ | |
save-batch | POST /api/ServiceContract/save-batch |
Admin or Module WRITE |
Property | Type | Description |
---|---|---|
id |
number | |
slug |
string | |
contract_num |
string | |
customer_reference_num |
string | |
customer_reference_label |
string | |
customer_po |
string | |
contract_description |
string | |
start_date |
date | |
end_date |
date | |
customer_id |
number | |
contract_type |
string | |
pays_mileage |
boolean | |
pays_perdiem |
boolean | |
category_id |
number | |
revenue_code_id |
number | |
detailed_description |
string | |
price |
number | |
has_automatic_invoicing |
boolean | |
billing_interval_months |
number | |
initial_billing_date |
date | |
invoice_recipients_json |
string | |
collective_agreements_json |
string | |
message_thread_id |
number | |
created_at |
datetime | |
updated_at |
datetime | |
updated_by |
number |
Setting | |
---|---|
Pagination Limit (when page parameter is set) |
None |
Default Sort Order |
customer_id ASCend_date ASC |
Related Resource | Key | Relationship to ServiceContract | Property |
---|---|---|---|
Service | contract_id |
Owns Many | Service |
ServiceContractTask | contract_id |
Owns Many | ServiceContractTask |
Material | material_id |
Owns Many | Material |
Category | category_id |
Belongs To | Category |
RevenueCode | revenue_code_id |
Belongs To | RevenueCode |
Contact | customer_id |
Belongs To | Customer |
ServiceProduct | product_id |
Owns Many | ServiceProduct |
User | user_id |
Owns Many | User |
MessageThread | message_thread_id |
Belongs To | MessageThread |
ServiceContractFile | service_service_contract_id |
Owns Many | ServiceContractFile |