SmartAcc DynaMod Web API v2024.4 Build 0000 - Local

<back to all web services

CustomerAreas

Customer Module

Customer Areas API

Requires Authentication
Required permission:CustomerArea-Setup.GET
The following routes are available for this service:
GET/CustomerAreas
CustomerAreasResponse Parameters:
NameParameterData TypeRequiredDescription
CustomerAreasformList<AcArea>No
ResponseStatusformResponseStatusNo
AcArea Parameters:
NameParameterData TypeRequiredDescription
AcAreaIDformstringYesArea ID
AcAreaDescformstringYesDescription
CreateByformstringNo
CreateDateformDateTimeNo
EditByformstringNo
EditDateformDateTimeNo
StampformintNo

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.

GET /CustomerAreas HTTP/1.1 
Host: snr2u.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	CustomerAreas: 
	[
		{
			AcAreaID: String,
			AcAreaDesc: String,
			CreateBy: String,
			CreateDate: 0001-01-01,
			EditBy: String,
			EditDate: 0001-01-01,
			Stamp: 0
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}