Needio.Services.ExtApiHost

<back to all web services

ExtGetBatchResultRequest

Requires Authentication
Required role:Approved
The following routes are available for this service:
All Verbs/Ext/ExtGetBatchResultRequest/
ExtGetBatchResultRequest Parameters:
NameParameterData TypeRequiredDescription
BatchIdqueryintNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
isAdminformboolNo
CmdformstringNo
ExtGetBatchResultResponse Parameters:
NameParameterData TypeRequiredDescription
ImportResultformImportResultNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ExYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
ImportResult Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ErrorformErrorNo
SuccessCountformintNo
FailCountformintNo
XmlPostErrorResultListformList<XmlPostErrorResult>No
SuccessPostCountformintNo
FailPostCountformintNo
PostErrorListformList<XmlPostErrorResult>No
PostListformList<PostListDto>No
XmlPostErrorResult Parameters:
NameParameterData TypeRequiredDescription
SourceIdformstringNo
PostIdformint?No
PostNameformstringNo
ErrorTextformstringNo
PostListDto Parameters:
NameParameterData TypeRequiredDescription
SourceIdformstringNo
StockCodeformstringNo
PostIdformint?No
VariantListformList<PostVariantListDto>No
PostVariantListDto Parameters:
NameParameterData TypeRequiredDescription
SourceIdformstringNo
StockCodeformstringNo
EANCodeformstringNo
PostVariantIdformintNo
VariantNameformstringNo
ExtGetBatchResultResponse Parameters:
NameParameterData TypeRequiredDescription
ImportResultformImportResultNo

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 /Ext/ExtGetBatchResultRequest/ HTTP/1.1 
Host: apiservices.needion.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	BatchId: 0,
	start: 0001-01-01,
	DeviceUUID: String,
	APIKey: String,
	isAdmin: False,
	Cmd: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ImportResult: 
	{
		Result: False,
		Error: 
		{
			ErrorYn: False,
			ExYn: False,
			ErrorCode: String,
			ErrorDescription: String
		},
		SuccessCount: 0,
		FailCount: 0,
		XmlPostErrorResultList: 
		[
			{
				SourceId: String,
				PostId: 0,
				PostName: String,
				ErrorText: String
			}
		],
		SuccessPostCount: 0,
		FailPostCount: 0,
		PostErrorList: 
		[
			{
				SourceId: String,
				PostId: 0,
				PostName: String,
				ErrorText: String
			}
		],
		PostList: 
		[
			{
				SourceId: String,
				StockCode: String,
				PostId: 0,
				VariantList: 
				[
					{
						SourceId: String,
						StockCode: String,
						EANCode: String,
						PostVariantId: 0,
						VariantName: String
					}
				]
			}
		]
	},
	Result: False,
	ResMessage: String,
	Error: 
	{
		ErrorYn: False,
		ExYn: False,
		ErrorCode: String,
		ErrorDescription: String
	},
	PageInfo: 
	{
		TotalRecordCount: 0,
		TotalPageCount: 0,
		CurrentPage: 0
	}
}