{
"name": "Testing000000001",
"roleId": "2007958",
"transactionSideId": "listbuy",
"fieldData": {
"data" : {
"address1": "123 EZ Street",
"address2": "unit 10",
"city": "Galaxian",
"state": "US-HI",
"postalCode": "11112",
"companyRoomStatus": "5",
"comments": " laborum.",
"hubspotId":"121212"
}
}
}
This code is running fine but when ever I changed the value of State from US-HI to another value, so it show error while creating a room.
The Rooms:CreateRoom endpoint documentation says this:
If you check the State:GetStates documentation you will see the list of states, but to get their codes you have to make this API call. If you want you can make it once and hardcode the results, changes to the list of states are rare.