Needio.Services

<back to all web services

SendStoreToApproveRequest

Requires Authentication
Required role:Approved
The following routes are available for this service:
All Verbs/Store/SendStoreToApprove/
SendStoreToApproveRequest Parameters:
NameParameterData TypeRequiredDescription
StoreIdqueryintNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
SendStoreToApproveResponse Parameters:
NameParameterData TypeRequiredDescription
ValidationsformValidationErrorsNo
ApprovedYnformboolNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
ValidationErrors Parameters:
NameParameterData TypeRequiredDescription
ValidationsformList<ValidationError>No
HasErrorformboolNo
ValidationError Parameters:
NameParameterData TypeRequiredDescription
PropertyformstringNo
ErrorCodeformstringNo
ErrorformstringNo
SendStoreToApproveResponse Parameters:
NameParameterData TypeRequiredDescription
ValidationsformValidationErrorsNo
ApprovedYnformboolNo

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

HTTP + CSV

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

POST /Store/SendStoreToApprove/ HTTP/1.1 
Host: baseservices.needion.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"StoreId":0,"start":"\/Date(1634747249294+0300)\/","DeviceUUID":"String","APIKey":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Validations":{"Validations":[{"Property":"String","ErrorCode":"String","Error":"String"}],"HasError":true},"ApprovedYn":false,"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}