Please see the terms of parole issued by Gen. Grant at Appomattox Court House on Apr. 9, 1865. The Confederate unit officers were to list their soldiers for the parole. I believe your inquiry is about the aftermath of the war. I know that at the surrender of Vicksburg the individual soldiers signed the parole.
http://www.sewanee.edu/faculty/Willis/Civil_War/documents/GrantLee.html