PUT api/v1/Client
Update a client. There is no add
Request Information
URI Parameters
Body Parameters
Client| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Database ID for the client. Do not supply this value. It will be generated by the system |
integer | |
| Name |
Client Name from Dynamics |
string |
Required |
| ShortName |
Common Name that is in dynamics but it is how we know the clients |
string |
Required |
| Code |
Client Code for the ID |
string |
Required |
| Active |
Active status of the client |
boolean |
Required |
| ClientTypeId | TClientType | ||
| ParentClient |
Parent Client for the client. Leave empty if one doesn't exist |
string | |
| Description |
Description of the client |
string | |
| ErpId |
ERP ID for the client. From Dynamics |
string | |
| ErpNumber |
ERP Number for the client. From Dynamics |
string | |
| Address1 |
Address information for the client |
string | |
| Address2 |
Address information for the client |
string | |
| City |
City information for the client |
string | |
| State |
State information for the client |
string | |
| Zip |
Zip information for the client |
string | |
|
Email information for the client |
string | ||
| Phone |
Phone information for the client |
string | |
| ClientContracts |
Client Contracts for the client |
Collection of ClientContract | |
| ModifiedDateTime |
Modified datetime for the object. This will be added by the system. |
date | |
| ExecutionTime |
How long the method took in milliseconds. System supplied value. |
integer | |
| TxID |
Transaction ID of the call. Will be added for the response. Not needed in the request. |
string |
Request Formats
application/json, text/json
{
"executionTime": 19,
"txID": "sample string 20"
}
application/x-www-form-urlencoded
Id=1&Name=sample+string+1&ShortName=sample+string+1&Code=sample+string+1&Active=True&ClientTypeId=Unknown&ParentClient=sample+string+1&Description=sample+string+1&ErpId=sample+string+1&ErpNumber=sample+string+1&Address1=sample+string+1&Address2=sample+string+1&City=sample+string+1&State=sample+string+1&Zip=sample+string+1&Email=sample+string+1&Phone=sample+string+1&ClientContracts=System.Collections.Generic.List%601%5bTulaERP.Contract.Models.ClientContract%5d&ClientDivisions=System.Collections.Generic.List%601%5bTulaERP.Contract.Models.ClientDivision%5d&Invoices=System.Collections.Generic.List%601%5bTulaERP.Contract.Models.Invoice%5d&InvoiceBillingEvents=System.Collections.Generic.List%601%5bTulaERP.Contract.Models.InvoiceBillingEvent%5d&Jobs=System.Collections.Generic.List%601%5bTulaERP.Contract.Models.Job%5d&Members=System.Collections.Generic.List%601%5bTulaERP.Contract.Models.Member%5d&Orders=System.Collections.Generic.List%601%5bTulaERP.Contract.Models.Order%5d&ClientROIDetails=System.Collections.Generic.List%601%5bTulaERP.Contract.Models.ClientROIDetail%5d&DBStatus=Unknown&ClientName=sample+string+1&ModifiedDateTime=12%2f19%2f2025+3%3a18%3a26+PM&ExecutionTime=1&TxID=sample+string+1&ResultMessage=sample+string+1&ResultCode=1&ModifiedSessionId=1&RowVersion=System.Byte%5b%5d
application/xml
Sample not available.
text/xml
Sample not available.
Response Information
Resource Description
Client Object
Client| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Database ID for the client. Do not supply this value. It will be generated by the system |
integer | |
| Name |
Client Name from Dynamics |
string |
Required |
| ShortName |
Common Name that is in dynamics but it is how we know the clients |
string |
Required |
| Code |
Client Code for the ID |
string |
Required |
| Active |
Active status of the client |
boolean |
Required |
| ClientTypeId | TClientType | ||
| ParentClient |
Parent Client for the client. Leave empty if one doesn't exist |
string | |
| Description |
Description of the client |
string | |
| ErpId |
ERP ID for the client. From Dynamics |
string | |
| ErpNumber |
ERP Number for the client. From Dynamics |
string | |
| Address1 |
Address information for the client |
string | |
| Address2 |
Address information for the client |
string | |
| City |
City information for the client |
string | |
| State |
State information for the client |
string | |
| Zip |
Zip information for the client |
string | |
|
Email information for the client |
string | ||
| Phone |
Phone information for the client |
string | |
| ClientContracts |
Client Contracts for the client |
Collection of ClientContract | |
| ModifiedDateTime |
Modified datetime for the object. This will be added by the system. |
date | |
| ExecutionTime |
How long the method took in milliseconds. System supplied value. |
integer | |
| TxID |
Transaction ID of the call. Will be added for the response. Not needed in the request. |
string |
Response Formats
application/json, text/json
{
"executionTime": 19,
"txID": "sample string 20"
}
application/xml
Sample not available.
text/xml
Sample not available.