This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TI-API: Insert line to existing PO missing messages in response

Part Number: TI-API

Hello Team,

While inserting a line to an existing PO in the response we are not getting the messages info. We need this information which is critical to our development.

Also we have noticed that "Confirmations" response key is different in change order and new order. For change order we are getting the data within "Confirmations" and for new order we get it as "confirmations". Similarly for "shiptoAccountNumber" and "shipToAccountNumber". Can we make it consistent.

Below is the request and response for change order to insert a line.

Request:

{
"order": {
"customerPurchaseOrderNumber": "425953",
"purchaseOrderDate": "",
"shipToAccountNumber": "183974",
"endCustomerCompanyName": "EXTRON",
"orderNumber": "",
"lineItems": [
{
"customerLineItemNumber": "003",
"tiPartNumber": "CD4013BPW",
"customerPartNumber": "19-2904-01LF",
"customerAnticipatedUnitPrice": 0.127,
"customerCurrencyCode": "USD",
"lineItemChangeIndicator": "I",
"schedules": [
{
"requestedQuantity": 1080,
"requestedDeliveryDate": "2023-11-02"
}
]
}
]
}
}

Response:

{
"orders": [
{
"orderNumber": "1019693774",
"orderDate": "2023-07-31",
"customerPurchaseOrderNumber": "425953",
"orderStatus": "BEING PROCESSED",
"shipToAccountNumber": "183974",
"endCustomerCompanyName": "EXTRON",
"lineItems": [
{
"tiLineItemNumber": "000030",
"tiPartNumber": "CD4013BPW",
"customerLineItemNumber": "003",
"customerPartNumber": "19-2904-01LF",
"itemShipToAccountNumber": "183974",
"status": "Not Delivered",
"tiTotalOrderItemQuantity": 1080,
"customerAnticipatedUnitPrice": 0.127,
"customerCurrencyCode": "USD",
"tiUnitPrice": 0.127,
"tiCurrencyCode": "USD",
"schedules": [
{
"requestedQuantity": 1080,
"requestedDeliveryDate": "2023-11-02",
"Confirmations": [
{
"tiScheduleLineNumber": "0002",
"scheduledQuantity": 1080,
"estimatedShipDate": "2023-10-27",
"estimatedDeliveryDate": "2023-11-02",
"shippedQuantity": 0
}
]
}
]
}
]
}
]
}

  • Hi Abdulrafay Moh,

    Thanks for reaching out the upper/lower casing to us!  I'll get this to our developers and see if we can get this resolved by next week.  It was an omission on our part.  Thanks for pointing this out.  I can keep you posted on this.  Let me look into the response portion  - this may be an enhancement.  I'll get back to you on tomorrow.

    Regards,

    Faye

  • Hi Abdulrafay Moh,

    For your first request (.."not getting the messages info...")  I want to clarify - I believe you are requesting that we always add a message for schedules - even when it is successful.  Format will be (code,type,reason,message) - same as the error format.   Please correct me if I'm mistaken.   Once you confirm, I'll create an enhancement request. 

    For the other items, I have filed tickets for these to be resolved.  

    Regards,

    Faye

  • Hello Faye,

    Yes we need some sort of message for the schedules with the format as as above for the change order api for all three types (U,I,X).

    Thank you for your help appreciate it.

    Thanks,

    Abdulrafay

  • Abdulrafay,

    Got it!  I've submitted an enhancement request for this.  This request will involve coordination between a couple of teams, so, I'll let you know when it has been prioritized.   We should get the inconsistencies resolved next week.  I'll keep you posted.  Thanks again for submitting these items.

  • Hello Faye

    We have noticed that when calling the change orrder api we have noticed that "estimatedDeliveryDateStatus" is missing in the "confirmations" could you please also try to look at this as well. We get the status when we call the get order api.

    Appreciate your help.

    Thanks,

    Abdulrafay

  • Hi Abdulrafay,

    I have confirmed this problem and have submitted it to be resolved.  I will let you know when it will be released.  Thank you for catching this!

    Regards,

    Faye

  • Hi Abdulrafay,

    I have tickets for all items and they are logged against this E2E thread.  The bugs will get addressed first (either end of Aug or early September)..  The last item was an enhancement request and we are discussing this request, to determine if anything can be done.   I am going to close this thread, and once they are resolved, I will let you know. 

    Regards,

    Faye

  • Hii Abdulrafay,

    We've address three of the four defects you reported:

    1.  Corrected "confirmation" attribute in Order-Change response
    2.  Corrected shipToAccountNumber" attribute in Order-Create response 
    3.  Added  " estimatedDeliveryDateStatus" to Order-Change response

    The last item (adding "success" error message structure) will be a bigger effort, as the error messaging is designed around "errors", not successful calls. We are discussing options, but, this will take longer to resolve and I do not have a timeline on when that will occur.   Because of this, I am moving forward with closing this ticket, but, I will keep you posted on this item and I have added your name and this E2E thread # on the ticket as well.   

    Please let us know if you need anything else.

    Regards,

    Faye

**Attention** This is a public forum