Upsert Stateput https://api.data-basics.net/apihub/apis/upsertStateInsert or update a record of XpState