I am going to generate e-invoice from C# code using put method.I have tested e-invoice api in sandbox environment using postmen tool.It works fine as per our requirement.I would like to know how to pass API Header information and body information from C# Code
Header :-
Content-Type : application/json
owner_id: zxererer45454545_4545456
gstin : 29AAFCD5862R000
Body :-
[
  {
    "transaction": {
      "Version": "1.03",
      "TranDtls": {
        "TaxSch": "GST",
        "SupTyp": "B2B",
        "RegRev": "Y",
        "EcmGstin": null,
        "IgstOnIntra": "N"
      },
      "DocDtls": {
        "Typ": "INV",
        "No": "AS/20/0009",
        "Dt": "08/09/2020"
      },
      "SellerDtls": {
        "Gstin": "29AAFCD5862R000",
        "LglNm": "K.H Exports India Private Limited",
        "TrdNm": "K.H Exports India Private Limited",
        "Addr1": "142/1,Trunk Road",
        "Addr2": "142/1,Trunk Road",
        "Loc": "Perumugai",
        "Pin": "560037",
        "Stcd": "29",
        "Ph": "04162253164",
        "Em": "edp.kharind@khindia.com"
      },
]
I am getting an error message when I use below code,Please check attached screenshot