Try below code:
[Route("api/YourControllerName/{id:length(6)}")]
public IHttpActionResult GetAddress(string id){ // }
Note: your Post code format looks like it has 7 characters which include a space character. If that's your correct format, you need to change the length to 7.