ApexERPHost

<back to all web services

SaveAttorney

Requires Authentication
The following routes are available for this service:
POST/Crm/Contracts/SaveAttorney
SaveAttorney Parameters:
NameParameterData TypeRequiredDescription
AttbodyAttorneyNo
Attorney Parameters:
NameParameterData TypeRequiredDescription
AttIdformintNo
CntIdformintNo
FnameformstringNo
LnameformstringNo
SnformstringNo
PhoneformstringNo
EmailformstringNo
AddressformstringNo
DatestartformDateTimeNo
DateendformDateTimeNo
SpendformboolNo
CommentformstringNo
SaveAttorneyResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Crm/Contracts/SaveAttorney HTTP/1.1 
Host: 10.10.0.107 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Att: 
	{
		AttId: 0,
		CntId: 0,
		Fname: String,
		Lname: String,
		Sn: String,
		Phone: String,
		Email: String,
		Address: String,
		Datestart: 0001-01-01,
		Dateend: 0001-01-01,
		Spend: False,
		Comment: String
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	Result: 0
}