Needio.Services.ExtApiHost

<back to all web services

ExtGetSmAttributeDefsRequest

The following routes are available for this service:
All Verbs/Ext/GetSmAttributeDefs/
ExtGetSmAttributeDefsRequest Parameters:
NameParameterData TypeRequiredDescription
PostTypeIdqueryintNo
ModifiedSincequeryDateTime?No
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
isAdminformboolNo
CmdformstringNo
ExtGetSmAttributeDefsResponse Parameters:
NameParameterData TypeRequiredDescription
AttibuteDefsformList<SmAttributeDefExtDTO>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ExYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
SmAttributeDefExtDTO Parameters:
NameParameterData TypeRequiredDescription
ATypeformSmAttributeTypesNo
CodeformstringNo
AttributeDatasformList<SmAttributeDataDTO>No
MinValueformintNo
MaxValueformintNo
SmAttributeInfoDTO Parameters:
NameParameterData TypeRequiredDescription
AttributeDefIdformshortNo
NameformstringNo
LabelTextformstringNo
RequiredformboolNo
ATypeformSmAttributeTypesNo
DefaultKeyformstringNo
DefaultValueformstringNo
MinValueformint?No
MaxValueformint?No
SmAttributeTypes Enum:
NameValue
Text1
Number2
Combo11
MultiSelect12
State13
Brand21
SmAttributeDataDTO Parameters:
NameParameterData TypeRequiredDescription
KeyformstringNo
ValueformstringNo
CountformintNo
OrderformintNo
ExtGetSmAttributeDefsResponse Parameters:
NameParameterData TypeRequiredDescription
AttibuteDefsformList<SmAttributeDefExtDTO>No

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /Ext/GetSmAttributeDefs/ HTTP/1.1 
Host: apiservices.needion.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"PostTypeId":0,"ModifiedSince":"\/Date(-62135596800000-0000)\/","start":"\/Date(-62135596800000-0000)\/","DeviceUUID":"String","APIKey":"String","isAdmin":false,"Cmd":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"AttibuteDefs":[{"AType":"Text","Code":"String","AttributeDatas":[{"Key":"String","Value":"String","Count":0,"Order":0}],"MinValue":0,"MaxValue":0,"AttributeDefId":0,"Name":"String","LabelText":"String","Required":false,"DefaultKey":"String","DefaultValue":"String","MinValue":0,"MaxValue":0}],"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ExYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}