Create a collection code for an existing key. You need to pass a keyId.
{ "PropertyKeyId": 1, "StoreId": 2, "ExpectedCollectionUserName": "sample string 3", "ExpectedDate": "2018-03-27T15:37:39.9989584+05:30", "ExpectedTime": "sample string 4", "IsPermanentCode":false }
{ "PropertyName": "sample string 1", "KeyId": 2, "CollectionCode": "sample string 3" }