You have the
fdisk code in another answer. But note that you don't have to use
fdisk. There are other partitioning tools, and one in particular might be useful here.
On Rod Smith's
gdisk the Microsoft Basic Data partition type is shorthand code 0700 in the tool.
gdisk shorthand codes are in hexadecimal, and are 16-bit integers rather than the underlying (128-bit) GUIDs used in the actual EFI partition table (which the tool maps the shorthands to, internally).
gdisk uses the convention of the old 8-bit MBR-style partition type multiplied by 0x0100 for its shorthand codes and is possibly easier to get to grips with in this respect with if one is coming from the MBR-style partition codes and DOS+Windows tools, as you apparently are.
One can list the shorthands interactively within
gdisk with its
l command, or by running the
sgdisk --list-types command.
sgdisk is the non-interactive tool.