ApexERPHost

<back to all web services

GetMobileVisitFaInvs

Requires Authentication
The following routes are available for this service:
GET/Distribution/MobileVisits/{VisitId}/FaInv
GetMobileVisitFaInvs Parameters:
NameParameterData TypeRequiredDescription
VisitIdpathintNo
GetMobileVisitFaInvsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<MobileVisitFaInv>No
MobileVisitFaInv Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
VisitIdformintNo
CreateTimeformDateTimeNo
NoteformstringNo
UnidformGuidNo
MetaformDictionary<string, string>No
DetailsformList<MobileVisitFaInvDet>No
MobileVisitFaInvDet Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
InvIdformintNo
AssetIdformintNo
InvNumformstringNo
NameformstringNo
QuantityformdecimalNo
UnidformGuidNo
NoteformstringNo

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 /Distribution/MobileVisits/{VisitId}/FaInv HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
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: 
	[
		{
			Id: 0,
			VisitId: 0,
			CreateTime: 0001-01-01,
			Note: String,
			Unid: 00000000000000000000000000000000,
			Meta: 
			{
				String: String
			},
			Details: 
			[
				{
					Id: 0,
					InvId: 0,
					AssetId: 0,
					InvNum: String,
					Name: String,
					Quantity: 0,
					Unid: 00000000000000000000000000000000,
					Note: String
				}
			]
		}
	]
}