You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For testing I added a copy of the Order structure as UpdateOrder and changed to
public class UpdateOrder
{
.....
public StickyNotesArray StickyNotes { get; set; }
}
public class StickyNotesArray
{
public List<StickyNotes> StickyNote { get; set; }
}
Which worked and I was able to both update and add new Sticky Notes
The text was updated successfully, but these errors were encountered:
There is an issue updating and creating StickyNotes as the Order Structure for the Get is different to the Update
For the Get see https://developers.maropost.com/documentation/engineers/api-documentation/orders-invoices/getorder
The Get has the structure
"StickyNotes": [ {
"StickyNoteID":"Integer",
"Title":"String",
"Description":"String"
} ]
For the Update see https://developers.maropost.com/documentation/engineers/api-documentation/orders-invoices/updateorder
Whereas the Update has the Stucture
"StickyNotes": {
"StickyNote": [ {
"StickyNoteID":"Integer",
"Title":"String",
"Description":"String"
} ]
For testing I added a copy of the Order structure as UpdateOrder and changed to
Which worked and I was able to both update and add new Sticky Notes
The text was updated successfully, but these errors were encountered: