POST public-api/ic/item/getserviceitem/{itemNumber}
This method is used to get a service item with an item number that matches the string parameter exactly. Requires Allow Item permission.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| itemNumber | string |
Required |
Body Parameters
None.
Response Information
Resource Description
WaspResultOfItemServiceInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ItemServiceInfo |
None. |
|
| Messages | Collection of WtResult |
None. |
|
| BatchNumber | integer |
None. |
|
| HasError | boolean |
None. |
|
| HasHttpError | boolean |
None. |
|
| HasMessage | boolean |
None. |
|
| HasSuccessWithMoreDataRemaining | boolean |
None. |
|
| TotalRecordsLongCount | integer |
None. |
Response Formats
application/json
Sample:
{
"Data": {
"RowNumber": 1,
"ItemNumber": "sample string 2",
"AlternateItemNumber": "sample string 3",
"ItemDescription": "sample string 4",
"CategoryDescription": "sample string 5",
"StockingUnit": "sample string 6",
"PurchaseUnit": "sample string 7",
"SalesUnit": "sample string 8",
"Cost": 9.0,
"SalesPrice": 10.0,
"ListPrice": 11.0,
"AverageCost": 12.0,
"TaxCode": "sample string 13",
"AttachmentInfo": {
"AttachmentsToAdd": [
"sample string 1",
"sample string 2"
],
"AttachmentsToDelete": [
"sample string 1",
"sample string 2"
],
"AttachmentNames": [
{
"Key": "sample string 1",
"Value": "sample string 2"
},
{
"Key": "sample string 1",
"Value": "sample string 2"
}
],
"NewDefaultAttachment": "sample string 1",
"HasAttachment": true
},
"ItemVendorInfo": [
{
"VendorNumber": "sample string 1",
"VendorSKU": "sample string 2",
"VendorUnit": "sample string 3",
"DefaultVendorUnit": true,
"VendorPrice": 5.0,
"VendorDescription": "sample string 6",
"LeadTimeMinutes": 7,
"PreferredVendor": true,
"VendorNotes": [
{
"NoteText": "sample string 1",
"NoteDate": "2026-07-25T02:31:20.2582884+00:00",
"UserLogon": "sample string 2"
},
{
"NoteText": "sample string 1",
"NoteDate": "2026-07-25T02:31:20.2582884+00:00",
"UserLogon": "sample string 2"
}
]
},
{
"VendorNumber": "sample string 1",
"VendorSKU": "sample string 2",
"VendorUnit": "sample string 3",
"DefaultVendorUnit": true,
"VendorPrice": 5.0,
"VendorDescription": "sample string 6",
"LeadTimeMinutes": 7,
"PreferredVendor": true,
"VendorNotes": [
{
"NoteText": "sample string 1",
"NoteDate": "2026-07-25T02:31:20.2582884+00:00",
"UserLogon": "sample string 2"
},
{
"NoteText": "sample string 1",
"NoteDate": "2026-07-25T02:31:20.2582884+00:00",
"UserLogon": "sample string 2"
}
]
}
],
"CustomFields": [
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-07-25T02:31:20.2582884+00:00",
"DcfValueRecordStatus": 0
},
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-07-25T02:31:20.2582884+00:00",
"DcfValueRecordStatus": 0
}
]
},
"Messages": [
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
},
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
}
],
"BatchNumber": 1,
"HasError": false,
"HasHttpError": false,
"HasMessage": true,
"HasSuccessWithMoreDataRemaining": false,
"TotalRecordsLongCount": 1
}