swagger.yaml 293 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. common.QueryTableDefineRsp:
  92. properties:
  93. columns:
  94. description: 列头信息数组
  95. items:
  96. $ref: '#/definitions/models.Tablecolumnconfig'
  97. type: array
  98. remark:
  99. description: Remark
  100. type: string
  101. tabelmenu:
  102. description: 列表菜单
  103. type: string
  104. tablekey:
  105. description: 列表Key
  106. type: string
  107. tablename:
  108. description: 列表名称
  109. type: string
  110. tabletype:
  111. description: 列表类型 - 1:管理端 2:终端
  112. type: integer
  113. required:
  114. - tablekey
  115. type: object
  116. common.QueryTraderMenuRsp:
  117. properties:
  118. OperationMenu:
  119. description: 功能菜单
  120. items:
  121. $ref: '#/definitions/models.OperationPrimaryMenu'
  122. type: array
  123. QuoteMenu:
  124. description: 报价牌分类菜单
  125. items:
  126. $ref: '#/definitions/models.QuotePrimaryMenu'
  127. type: array
  128. type: object
  129. cptrade.Cptradepositioncancel:
  130. properties:
  131. accountid:
  132. description: 申请人账户ID
  133. type: integer
  134. applystatus:
  135. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  136. type: integer
  137. applytime:
  138. description: 申请时间
  139. type: string
  140. cancelid:
  141. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  142. type: integer
  143. cancelqty:
  144. description: 注销数量
  145. type: integer
  146. createtime:
  147. description: 创建时间
  148. type: string
  149. creatorid:
  150. description: 创建人ID
  151. type: integer
  152. creatorname:
  153. description: 创建人
  154. type: string
  155. goodscode:
  156. description: 订单商品代码
  157. type: string
  158. goodsid:
  159. description: 商品ID
  160. type: integer
  161. goodsname:
  162. description: 订单商品名称
  163. type: string
  164. goodunit:
  165. description: 报价单位
  166. type: string
  167. handlestatus:
  168. description: 处理状态
  169. type: integer
  170. marketid:
  171. description: 市场ID
  172. type: integer
  173. marketname:
  174. description: 市场名称
  175. type: string
  176. tradedate:
  177. description: 交易日(yyyyMMdd)
  178. type: string
  179. userid:
  180. description: 申请人ID
  181. type: integer
  182. required:
  183. - cancelid
  184. type: object
  185. cptrade.Cptradepresaleapply:
  186. properties:
  187. accountid:
  188. description: 申请人账户ID
  189. type: integer
  190. applyid:
  191. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  192. type: integer
  193. applyremark:
  194. description: 申请备注
  195. type: string
  196. applystatus:
  197. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  198. type: integer
  199. applytime:
  200. description: 申请时间
  201. type: string
  202. attachmenturl:
  203. description: 附件地址
  204. type: string
  205. endtime:
  206. description: 预售结束时间
  207. type: string
  208. goodscode:
  209. description: 商品代码
  210. type: string
  211. goodsid:
  212. description: 商品ID
  213. type: integer
  214. goodsname:
  215. description: 商品名称
  216. type: string
  217. goodunit:
  218. description: 报价单位
  219. type: string
  220. handlestatus:
  221. description: 处理状态
  222. type: integer
  223. marketid:
  224. description: 预售市场ID
  225. type: integer
  226. marketname:
  227. description: 预售市场名称
  228. type: string
  229. presaleqty:
  230. description: 预售数量
  231. type: integer
  232. relatedgoodscode:
  233. description: 关联交易合约代码
  234. type: string
  235. relatedgoodsid:
  236. description: 关联交易合约ID
  237. type: integer
  238. relatedgoodsname:
  239. description: 关联交易合约名称
  240. type: string
  241. starttime:
  242. description: 预售开始时间
  243. type: string
  244. tradedate:
  245. description: 交易日(yyyyMMdd)
  246. type: string
  247. trademode:
  248. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  249. type: integer
  250. userid:
  251. description: 申请人ID
  252. type: integer
  253. required:
  254. - applyid
  255. type: object
  256. cptrade.Cptradeusergoodsdata:
  257. properties:
  258. EnabledQty:
  259. description: 可用量
  260. type: integer
  261. GoodsCode:
  262. description: 订单商品代码
  263. type: string
  264. GoodsName:
  265. description: 订单商品名称
  266. type: string
  267. WRStandardCode:
  268. description: 仓单标准代码
  269. type: string
  270. WRStandardName:
  271. description: 仓单标准名称
  272. type: string
  273. accountid:
  274. description: 账户ID
  275. type: integer
  276. cancelqty:
  277. description: 注销量
  278. type: integer
  279. curpresaleqty:
  280. description: 当前预售量
  281. type: integer
  282. deliveryqty:
  283. description: 交割量
  284. type: integer
  285. freezeamount:
  286. description: 冻结金额
  287. type: number
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodunit:
  292. description: 报价单位
  293. type: string
  294. hasspotfreeze:
  295. description: 是否有现货冻结 - 0:否 1:有
  296. type: integer
  297. inqty:
  298. description: 转入量(总数量)
  299. type: integer
  300. marketid:
  301. description: 市场ID
  302. type: integer
  303. presaledamount:
  304. description: 已预售总金额
  305. type: integer
  306. presaledqty:
  307. description: 已预售量
  308. type: integer
  309. userid:
  310. description: 用户ID
  311. type: integer
  312. wrstandardid:
  313. description: 仓单标准ID
  314. type: integer
  315. required:
  316. - accountid
  317. - goodsid
  318. type: object
  319. cptrade.QueryCPTradeMyBidRsp:
  320. properties:
  321. accountid:
  322. description: 账户ID[报价币种]
  323. type: integer
  324. goodsid:
  325. description: 商品ID
  326. type: integer
  327. goodunit:
  328. description: 报价单位
  329. type: string
  330. marketid:
  331. description: 市场ID
  332. type: integer
  333. orderid:
  334. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  335. type: integer
  336. orderprice:
  337. description: 委托价格
  338. type: number
  339. orderqty:
  340. description: 委托数量
  341. type: integer
  342. ordertime:
  343. description: 委托时间
  344. type: string
  345. ordertotalprice:
  346. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  347. type: number
  348. ordertotalweight:
  349. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  350. type: integer
  351. totaltotalprice:
  352. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  353. type: number
  354. tradeprice:
  355. description: 成交价格
  356. type: number
  357. tradeqty:
  358. description: 成交数量
  359. type: integer
  360. required:
  361. - accountid
  362. - goodsid
  363. - marketid
  364. - orderid
  365. - orderqty
  366. - ordertime
  367. - tradeprice
  368. - tradeqty
  369. type: object
  370. cptrade.QueryCPTradeOrderDetailRsq:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. buildtype:
  376. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  377. type: integer
  378. buyorsell:
  379. description: 买卖 - 0:买 1:卖
  380. type: integer
  381. cancelorderid:
  382. description: 撤单单号(撤单时填写)
  383. type: integer
  384. cancelqty:
  385. description: 撤单数量
  386. type: integer
  387. clientordertime:
  388. description: 客户端委托时间
  389. type: string
  390. clientticket:
  391. description: 客户端流水号
  392. type: string
  393. clienttype:
  394. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  395. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  396. type: integer
  397. closeexchagechargevalue:
  398. description: 平仓交易所手续费设置值
  399. type: number
  400. closefeealgorithm:
  401. description: 平仓手续费收取方式 1:比率 2:固定
  402. type: integer
  403. closefreezecharge:
  404. description: 平仓冻结手续费(先建后平操作,需要记录)
  405. type: number
  406. closememberchargevalue:
  407. description: 平仓会员手续费设置值
  408. type: number
  409. closeqty:
  410. description: 平仓数量(先建后平操作 需要记录)
  411. type: integer
  412. closetradeqty:
  413. description: 平仓成交数量(先建后平操作,需要记录)
  414. type: integer
  415. closeunfreezecharge:
  416. description: 平仓解冻手续费(先建后平操作,需要记录)
  417. type: number
  418. delistingtype:
  419. description: 摘牌类型 - 1:价格最优 2:点选成交
  420. type: integer
  421. freezecharge:
  422. description: 冻结手续费
  423. type: number
  424. freezemargin:
  425. description: 冻结保证金(冻结交易金额)
  426. type: number
  427. gcaccountid:
  428. description: 账户ID[合约币种]
  429. type: integer
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. isconfirmexercise:
  434. description: 是否确认行权- 0:否 1:是
  435. type: integer
  436. ispreexercise:
  437. description: 是否预申报- 0:否 1:是
  438. type: integer
  439. listingselecttype:
  440. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  441. type: integer
  442. marginalgorithm:
  443. description: 保证金收取方式 1:比率 2:固定
  444. type: integer
  445. marginvalue:
  446. description: 即市保证金设置值
  447. type: number
  448. marketid:
  449. description: 市场ID
  450. type: integer
  451. marketmaxsub:
  452. description: 市价最大偏移范围
  453. type: number
  454. memberuserid:
  455. description: 所属会员UserID
  456. type: integer
  457. openexchagechargevalue:
  458. description: 建仓交易所手续费设置值
  459. type: number
  460. openfeealgorithm:
  461. description: 建仓手续费收取方式 1:比率 2:固定
  462. type: integer
  463. openfreezecharge:
  464. description: 开仓冻结手续费(先建后平操作,需要记录)
  465. type: number
  466. openmemberchargevalue:
  467. description: 建仓会员手续费设置值
  468. type: number
  469. openqty:
  470. description: 开仓数量(先建后平操作,需要记录)
  471. type: integer
  472. opentradeqty:
  473. description: 开仓成交数量(先建后平操作,需要记录)
  474. type: integer
  475. openunfreezecharge:
  476. description: 开仓解冻手续费(先建后平操作,需要记录)
  477. type: number
  478. operatetype:
  479. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  480. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  481. 15:管理端协议转让
  482. type: integer
  483. operatorid:
  484. description: 登录账号(LoginID)
  485. type: integer
  486. optiontype:
  487. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  488. type: integer
  489. orderprice:
  490. description: 委托价格
  491. type: number
  492. orderqty:
  493. description: 委托数量
  494. type: integer
  495. ordersrc:
  496. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  497. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  498. type: integer
  499. orderstatus:
  500. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  501. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  502. 16:成交失败违约(荷兰式竞拍专用)
  503. type: integer
  504. ordertime:
  505. description: 委托时间
  506. type: string
  507. preexerciseprice:
  508. description: 预申报价格
  509. type: number
  510. premium:
  511. description: 权利金
  512. type: number
  513. preorderid:
  514. description: 关联预埋单号(止盈止损单时填写)
  515. type: integer
  516. pricemode:
  517. description: '取价方式 - 1:市价 2: 限价'
  518. type: integer
  519. quoteid:
  520. description: 报价单ID
  521. type: integer
  522. relatedid:
  523. description: 关联单号(交割单)
  524. type: integer
  525. retcode:
  526. description: 错误代码
  527. type: integer
  528. sessionid:
  529. description: 会话ID
  530. type: integer
  531. strorderid:
  532. description: 委托单号
  533. type: string
  534. tradedate:
  535. description: 交易日(yyyyMMdd)
  536. type: string
  537. tradeproperty:
  538. description: 交易属性
  539. type: integer
  540. tradeqty:
  541. description: 成交数量
  542. type: integer
  543. unfreezecharge:
  544. description: 解冻手续费
  545. type: number
  546. unfreezemargin:
  547. description: 解冻保证金
  548. type: number
  549. updatetime:
  550. description: 更新时间
  551. type: string
  552. uuid:
  553. description: 发起端唯一id
  554. type: string
  555. validtime:
  556. description: 有效期限
  557. type: string
  558. validtype:
  559. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  560. type: integer
  561. volumetype:
  562. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  563. type: integer
  564. required:
  565. - accountid
  566. - buildtype
  567. - buyorsell
  568. - goodsid
  569. - marketid
  570. - memberuserid
  571. - operatetype
  572. - orderqty
  573. - ordertime
  574. - pricemode
  575. - strorderid
  576. - tradedate
  577. - validtype
  578. type: object
  579. cptrade.QueryMyCPTradeGoodsRsp:
  580. properties:
  581. accountid:
  582. description: 卖方账户ID
  583. type: integer
  584. agreeunit:
  585. description: 合约单位
  586. type: number
  587. applyid:
  588. description: 关联申请ID
  589. type: integer
  590. attachmenturl:
  591. description: 附件地址
  592. type: string
  593. createtime:
  594. description: 创建时间
  595. type: string
  596. currencyid:
  597. description: 报价货币ID
  598. type: integer
  599. decimalplace:
  600. description: 报价小数位
  601. type: integer
  602. endtime:
  603. description: 预售结束时间
  604. type: string
  605. floorprice:
  606. description: 底价[大宗式竞拍]
  607. type: number
  608. goodscode:
  609. description: 商品代码(预售)
  610. type: string
  611. goodsdetail:
  612. description: 详情[大宗]
  613. type: string
  614. goodsid:
  615. description: 商品ID(自增ID SEQ_GOODS)
  616. type: integer
  617. goodsname:
  618. description: 商品名称(预售)
  619. type: string
  620. goodunit:
  621. description: 报价单位
  622. type: string
  623. goodunitid:
  624. description: 报价单位ID
  625. type: integer
  626. marketid:
  627. description: 所属市场ID
  628. type: integer
  629. marketname:
  630. description: 预售市场名称
  631. type: string
  632. presaledamount:
  633. description: 已预售总金额(预售结束时更新)
  634. type: number
  635. presaledqty:
  636. description: 已预售量(预售结束时更新)
  637. type: integer
  638. presalemode:
  639. description: 预售模式 - 1:一口价 2:大宗式竞拍
  640. type: integer
  641. presaleqty:
  642. description: 预售数量
  643. type: integer
  644. refprice:
  645. description: 参考价格[一口价]
  646. type: number
  647. relatedgoodscode:
  648. description: 商品代码(订单)
  649. type: string
  650. relatedgoodsid:
  651. description: 关联交易合约ID
  652. type: integer
  653. relatedgoodsname:
  654. description: 商品名称(订单)
  655. type: string
  656. relatedmarketid:
  657. description: 关联交易合约市场ID
  658. type: integer
  659. sellstatus:
  660. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  661. type: integer
  662. startprice:
  663. description: 起拍价[大宗式竞拍]
  664. type: number
  665. starttime:
  666. description: 预售开始时间
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeprice:
  672. description: 成交价[大宗]
  673. type: number
  674. userid:
  675. description: 卖方用户ID
  676. type: integer
  677. required:
  678. - goodscode
  679. - goodsid
  680. - goodsname
  681. - marketid
  682. - relatedgoodscode
  683. - relatedgoodsname
  684. type: object
  685. cptrade.QueryPresaleGoodsExRsp:
  686. properties:
  687. attachmenturl:
  688. description: 附件地址
  689. type: string
  690. createtime:
  691. description: 创建时间
  692. type: string
  693. endtime:
  694. description: 预售结束时间
  695. type: string
  696. floorprice:
  697. description: 底价[大宗式竞拍]
  698. type: number
  699. goodsdetail:
  700. description: 详情[大宗]
  701. type: string
  702. goodsid:
  703. description: 商品ID(预售)
  704. type: integer
  705. goodunit:
  706. description: 报价单位
  707. type: string
  708. marketid:
  709. description: 预售市场ID - 根据预售模式选择市场
  710. type: integer
  711. presaledamount:
  712. description: 已预售总金额(预售结束时更新)
  713. type: number
  714. presaledqty:
  715. description: 已预售量(预售结束时更新)
  716. type: integer
  717. presalemode:
  718. description: 预售模式 - 1:一口价 2:大宗式竞拍
  719. type: integer
  720. presaleqty:
  721. description: 预售数量
  722. type: integer
  723. refprice:
  724. description: 参考价格[一口价]
  725. type: number
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedmarketid:
  730. description: 关联交易合约市场ID
  731. type: integer
  732. sellstatus:
  733. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  734. type: integer
  735. startprice:
  736. description: 起拍价[大宗式竞拍]
  737. type: number
  738. starttime:
  739. description: 预售开始时间
  740. type: string
  741. tradedate:
  742. description: 交易日(yyyyMMdd)
  743. type: string
  744. tradeprice:
  745. description: 成交价[大宗]
  746. type: number
  747. required:
  748. - goodsid
  749. type: object
  750. delivery.QueryDeliveryRelationRsp:
  751. properties:
  752. begindate:
  753. description: 起始日期(yyyyMMdd)
  754. type: string
  755. buytemplateid:
  756. description: 买履约计划模板ID
  757. type: integer
  758. deliverygoodscode:
  759. description: 品种代码
  760. type: string
  761. deliverygoodsid:
  762. description: 交割商品
  763. type: integer
  764. deliverygoodsname:
  765. description: 品种名称
  766. type: string
  767. deliverymode:
  768. description: 交割方式 - 1:点选式 2:申报式
  769. type: integer
  770. deliverypricerule:
  771. description: 交割价规则- 1:行情价 2:建仓价
  772. type: integer
  773. deliverytype:
  774. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  775. type: integer
  776. enddate:
  777. description: 结束日期(yyyyMMdd)
  778. type: string
  779. goodscode:
  780. description: 商品代码
  781. type: string
  782. goodsid:
  783. description: 交易合约ID
  784. type: integer
  785. goodsname:
  786. description: 商品名称
  787. type: string
  788. marketid:
  789. description: 市场ID
  790. type: integer
  791. mindeliveryqty:
  792. description: 最小交割系数(K)
  793. type: integer
  794. p2deliveryprice:
  795. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  796. type: number
  797. p2deliveryratio:
  798. description: P2合约系数(p)
  799. type: integer
  800. p2goodsid:
  801. description: P2合约ID
  802. type: integer
  803. p2pricemode:
  804. description: P2合约价格方式 - 1:商品价 2:固定值
  805. type: integer
  806. pdeliveryprice:
  807. description: P合约价格(商品价时填写0,固定值时填写固定值)
  808. type: number
  809. pdeliveryratio:
  810. description: P合约系数(n)
  811. type: integer
  812. pgoodsid:
  813. description: P合约ID
  814. type: integer
  815. ppricemode:
  816. description: P合约价格方式 - 1:商品价 2:固定值
  817. type: integer
  818. rratio:
  819. description: 兑换系数(R)
  820. type: integer
  821. rratio1:
  822. description: 兑换系数(交易合约)(R1)
  823. type: integer
  824. rratio2:
  825. description: 兑换系数(仓单标准)(R2)
  826. type: integer
  827. selltemplateid:
  828. description: 卖履约计划模板ID
  829. type: integer
  830. wrstandardid:
  831. description: 仓单标准ID
  832. type: integer
  833. xdeliveryratio:
  834. description: 交易合约系数(m)
  835. type: integer
  836. required:
  837. - begindate
  838. - enddate
  839. - goodsid
  840. - mindeliveryqty
  841. - xdeliveryratio
  842. type: object
  843. ermcp.ExposureDetailRsp:
  844. properties:
  845. areauserid:
  846. description: 机构ID
  847. type: integer
  848. changeQty:
  849. description: 套保变动量
  850. type: number
  851. contracttype:
  852. description: 现货合同类型 - 1:采购 -1:销售
  853. type: integer
  854. convertfactor:
  855. description: 标仓系数
  856. type: number
  857. convertratio:
  858. description: 套保系数
  859. type: number
  860. createtime:
  861. description: 时间
  862. type: string
  863. enumdicname:
  864. description: 现货商品单位名称
  865. type: string
  866. logtype:
  867. description: 类型 - 1:套保计划 2:现货合同
  868. type: integer
  869. middlegoodsId:
  870. description: 套保商品id
  871. type: integer
  872. middlegoodscode:
  873. description: 套保商品代码
  874. type: string
  875. middlegoodsname:
  876. description: 套保商品名称
  877. type: string
  878. qty:
  879. description: 数量
  880. type: number
  881. relateNo:
  882. description: 现货合同/套保计划编号
  883. type: string
  884. wrstandardcode:
  885. description: 现货商品代码
  886. type: string
  887. wrstandardid:
  888. description: 现货商品ID
  889. type: integer
  890. wrstandardname:
  891. description: 现货商品名称
  892. type: string
  893. type: object
  894. ermcp.ExposureHedgePosDetailRsp:
  895. properties:
  896. buyorsell:
  897. description: 买卖方向 0-买 1-卖
  898. type: integer
  899. channelbuildtype:
  900. description: 开平方向 1-建仓 2-平仓
  901. type: integer
  902. goodscode:
  903. description: 商品代码
  904. type: string
  905. goodsname:
  906. description: 商品名称
  907. type: string
  908. hedgegoodsid:
  909. description: 商品id
  910. type: integer
  911. tradeqty:
  912. description: 数量(成交数量)
  913. type: integer
  914. tradetime:
  915. description: 时间(成交时间)
  916. type: string
  917. type: object
  918. ermcp.ExposureHedgePositionRsp:
  919. properties:
  920. accountid:
  921. description: 资金账号[外部母账户]
  922. type: integer
  923. curbuyposition:
  924. description: 期末买头寸
  925. type: integer
  926. cursellposition:
  927. description: 期末卖头寸
  928. type: integer
  929. curtdbuyposition:
  930. description: 期末今日买头寸
  931. type: integer
  932. curtdsellposition:
  933. description: 期末今日卖头寸
  934. type: integer
  935. curydbuyposition:
  936. description: 期末上日买头寸
  937. type: integer
  938. curydsellposition:
  939. description: 期末上日卖头寸
  940. type: integer
  941. decreaseqty:
  942. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  943. type: integer
  944. fretdbuyposition:
  945. description: 冻结今日买头寸
  946. type: integer
  947. fretdsellposition:
  948. description: 冻结今日卖头寸
  949. type: integer
  950. freydbuyposition:
  951. description: 冻结上日买头寸
  952. type: integer
  953. freydsellposition:
  954. description: 冻结上日卖头寸
  955. type: integer
  956. goodscode:
  957. description: 商品代码
  958. type: string
  959. goodsid:
  960. description: 商品id
  961. type: integer
  962. goodsname:
  963. description: 商品名称
  964. type: string
  965. hedgeaccountcode:
  966. description: 对冲账号
  967. type: string
  968. hedgegoodsid:
  969. description: 对冲合约ID
  970. type: integer
  971. increaseqty:
  972. description: 增加数量 = 期末买头寸 - 期初买头寸
  973. type: integer
  974. marketid:
  975. description: 市场ID
  976. type: integer
  977. relateduserid:
  978. description: 关联用户id
  979. type: integer
  980. totalcurqty:
  981. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  982. type: integer
  983. totalydqty:
  984. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  985. type: integer
  986. tradedate:
  987. description: 交易日(yyyyMMdd)
  988. type: string
  989. ydbuyposition:
  990. description: 期初买头寸
  991. type: integer
  992. ydsellposition:
  993. description: 期初卖头寸
  994. type: integer
  995. type: object
  996. ermcp.ExposureSpotDetailRsp:
  997. properties:
  998. contracttype:
  999. description: 合同类型 1-采购 -1-销售
  1000. type: integer
  1001. enumdicname:
  1002. description: 现货商品单位名称
  1003. type: string
  1004. logtype:
  1005. description: 记录类型 1-套保 2-现货合同
  1006. type: integer
  1007. qty:
  1008. description: 数量
  1009. type: number
  1010. recordname:
  1011. description: 类型名称
  1012. type: string
  1013. relatedid:
  1014. description: 套保计划ID/现货合同ID
  1015. type: string
  1016. relatedno:
  1017. description: 编号
  1018. type: string
  1019. strtime:
  1020. description: 时间
  1021. type: string
  1022. wrstandardcode:
  1023. description: 现货商品代码
  1024. type: string
  1025. wrstandardname:
  1026. description: 现货商品名称
  1027. type: string
  1028. type: object
  1029. ermcp.ExposureSpotRsp:
  1030. properties:
  1031. areauserid:
  1032. description: 所属机构
  1033. type: integer
  1034. decreaseqty:
  1035. description: 减少数量=-(销售已定价数量+采购计划数量)
  1036. type: number
  1037. increaseqty:
  1038. description: 增加数量=销售计划数量+采购已定价数量
  1039. type: number
  1040. oritoalspotqty:
  1041. description: 昨日数量
  1042. type: number
  1043. totalspotqty:
  1044. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1045. type: number
  1046. updatetime:
  1047. description: 更新时间
  1048. type: string
  1049. wrstandardcode:
  1050. description: 现货品种代码
  1051. type: string
  1052. wrstandardid:
  1053. description: 现货商品ID
  1054. type: integer
  1055. wrstandardname:
  1056. description: 现货品种
  1057. type: string
  1058. type: object
  1059. ermcp.HisExposureRsp:
  1060. properties:
  1061. areauserid:
  1062. description: 所属机构
  1063. type: integer
  1064. middlegoodscode:
  1065. description: 套保品种代码
  1066. type: string
  1067. middlegoodsid:
  1068. description: 套保品种ID
  1069. type: integer
  1070. middlegoodsname:
  1071. description: 套保品种名称
  1072. type: string
  1073. needhedgeexposourE:
  1074. description: 应套保敞口
  1075. type: number
  1076. needhedgeratio:
  1077. description: 应套保敞口比例
  1078. type: number
  1079. reckondate:
  1080. description: 日照时期(yyyyMMdd)
  1081. type: string
  1082. totalexposure:
  1083. description: 总敞口
  1084. type: number
  1085. totalfutureqty:
  1086. description: 期货头寸总量
  1087. type: number
  1088. totalhedgeratio:
  1089. description: 敞口比例
  1090. type: number
  1091. totalneedhedgeqty:
  1092. description: 应套保总量
  1093. type: number
  1094. totalspotqty:
  1095. description: 现货头寸总量
  1096. type: number
  1097. type: object
  1098. ermcp.QryAvalidGPRsp:
  1099. properties:
  1100. goodsgroupid:
  1101. description: 期货品种id
  1102. type: integer
  1103. goodsgroupname:
  1104. description: 期货品种名称
  1105. type: string
  1106. goodunitid:
  1107. description: 品种单位id
  1108. type: integer
  1109. goodunitname:
  1110. description: 品种单位名称
  1111. type: string
  1112. outergroupcode:
  1113. description: 期货品种代码
  1114. type: string
  1115. type: object
  1116. ermcp.QryBusinessDjRsp:
  1117. properties:
  1118. amount:
  1119. description: 点价金额=(点价价格+升贴水)*点价数量
  1120. type: number
  1121. applyid:
  1122. description: 申请人
  1123. type: string
  1124. applyname:
  1125. description: 申请人名称
  1126. type: string
  1127. applystatus:
  1128. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1129. type: integer
  1130. applytime:
  1131. description: 申请时间
  1132. type: string
  1133. auditname:
  1134. description: 审核人名称
  1135. type: string
  1136. audittime:
  1137. description: 审核时间
  1138. type: string
  1139. buyusername:
  1140. description: 采购方名称
  1141. type: string
  1142. contractno:
  1143. description: 合同编号
  1144. type: string
  1145. contractstatus:
  1146. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1147. type: integer
  1148. contracttype:
  1149. description: 现货合同类型 - 1:采购 -1:销售
  1150. type: integer
  1151. enumdicname:
  1152. description: 单位名称
  1153. type: string
  1154. goodscode:
  1155. description: 点价合约
  1156. type: string
  1157. goodsname:
  1158. description: 商品名称
  1159. type: string
  1160. operateapplyid:
  1161. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1162. type: string
  1163. operateapplytype:
  1164. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1165. type: integer
  1166. pricedPrice:
  1167. description: 点价价格(非必填)
  1168. type: number
  1169. pricedQty:
  1170. description: 点价数量(非必填)
  1171. type: number
  1172. pricemove:
  1173. description: 升贴水
  1174. type: number
  1175. pricetype:
  1176. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1177. type: integer
  1178. relatedid:
  1179. description: 现货合同ID
  1180. type: string
  1181. sellusername:
  1182. description: 销售方名字
  1183. type: string
  1184. userid:
  1185. description: 用户ID
  1186. type: integer
  1187. type: object
  1188. ermcp.QryBussinessFpRsp:
  1189. properties:
  1190. applyid:
  1191. description: 申请人
  1192. type: string
  1193. applyname:
  1194. description: 申请人名称
  1195. type: string
  1196. applystatus:
  1197. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1198. type: integer
  1199. applytime:
  1200. description: 申请时间
  1201. type: string
  1202. auditname:
  1203. description: 审核人名称
  1204. type: string
  1205. audittime:
  1206. description: 审核时间
  1207. type: string
  1208. buyusername:
  1209. description: 采购方名称
  1210. type: string
  1211. contractno:
  1212. description: 合同编号
  1213. type: string
  1214. contractstatus:
  1215. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1216. type: integer
  1217. contracttype:
  1218. description: 现货合同类型 - 1:采购 -1:销售
  1219. type: integer
  1220. enumdicname:
  1221. description: 单位名称
  1222. type: string
  1223. goodscode:
  1224. description: 点价合约
  1225. type: string
  1226. goodsname:
  1227. description: 商品名称
  1228. type: string
  1229. invoiceAmount:
  1230. description: 已开收票金额(销售为开票,采购为收票)
  1231. type: number
  1232. operateapplyid:
  1233. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1234. type: string
  1235. operateapplytype:
  1236. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1237. type: integer
  1238. pricemove:
  1239. description: 升贴水
  1240. type: number
  1241. pricetype:
  1242. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1243. type: integer
  1244. relatedid:
  1245. description: 现货合同ID
  1246. type: string
  1247. sellusername:
  1248. description: 销售方名字
  1249. type: string
  1250. userid:
  1251. description: 用户ID
  1252. type: integer
  1253. type: object
  1254. ermcp.QryBussinessJsRsp:
  1255. properties:
  1256. addmargin:
  1257. description: 追加保证金(非必填)
  1258. type: number
  1259. applyid:
  1260. description: 申请人
  1261. type: string
  1262. applyname:
  1263. description: 申请人名称
  1264. type: string
  1265. applystatus:
  1266. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1267. type: integer
  1268. applytime:
  1269. description: 申请时间
  1270. type: string
  1271. auditname:
  1272. description: 审核人名称
  1273. type: string
  1274. audittime:
  1275. description: 审核时间
  1276. type: string
  1277. buyusername:
  1278. description: 采购方名称
  1279. type: string
  1280. contractno:
  1281. description: 合同编号
  1282. type: string
  1283. contractstatus:
  1284. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1285. type: integer
  1286. contracttype:
  1287. description: 现货合同类型 - 1:采购 -1:销售
  1288. type: integer
  1289. decmargin:
  1290. description: 减少保证金(非必填)
  1291. type: number
  1292. enumdicname:
  1293. description: 单位名称
  1294. type: string
  1295. goodscode:
  1296. description: 点价合约
  1297. type: string
  1298. goodsname:
  1299. description: 商品名称
  1300. type: string
  1301. operateapplyid:
  1302. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1303. type: string
  1304. operateapplytype:
  1305. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1306. type: integer
  1307. pricemove:
  1308. description: 升贴水
  1309. type: number
  1310. pricetype:
  1311. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1312. type: integer
  1313. reckonadjustamount:
  1314. description: 结算调整金额(非必填)
  1315. type: number
  1316. reckonosamount:
  1317. description: 结算溢短金额(非必填)
  1318. type: number
  1319. reckonotheramount:
  1320. description: 结算其他费用(非必填)
  1321. type: number
  1322. reckonrealqty:
  1323. description: 结算实际数量(非必填)
  1324. type: number
  1325. relatedid:
  1326. description: 现货合同ID
  1327. type: string
  1328. sellusername:
  1329. description: 销售方名字
  1330. type: string
  1331. userid:
  1332. description: 用户ID
  1333. type: integer
  1334. type: object
  1335. ermcp.QryBussinessKxRsp:
  1336. properties:
  1337. applyid:
  1338. description: 申请人
  1339. type: string
  1340. applyname:
  1341. description: 申请人名称
  1342. type: string
  1343. applystatus:
  1344. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1345. type: integer
  1346. applytime:
  1347. description: 申请时间
  1348. type: string
  1349. auditname:
  1350. description: 审核人名称
  1351. type: string
  1352. audittime:
  1353. description: 审核时间
  1354. type: string
  1355. buyusername:
  1356. description: 采购方名称
  1357. type: string
  1358. contractno:
  1359. description: 合同编号
  1360. type: string
  1361. contractstatus:
  1362. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1363. type: integer
  1364. contracttype:
  1365. description: 现货合同类型 - 1:采购 -1:销售
  1366. type: integer
  1367. deductamount:
  1368. description: 退款(非必填)
  1369. type: number
  1370. enumdicname:
  1371. description: 单位名称
  1372. type: string
  1373. goodscode:
  1374. description: 点价合约
  1375. type: string
  1376. goodsname:
  1377. description: 商品名称
  1378. type: string
  1379. kxtype:
  1380. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1381. type: integer
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. payamount:
  1389. description: 收付款(非必填)
  1390. type: number
  1391. pricemove:
  1392. description: 升贴水
  1393. type: number
  1394. pricetype:
  1395. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1396. type: integer
  1397. relatedid:
  1398. description: 现货合同ID
  1399. type: string
  1400. sellusername:
  1401. description: 销售方名字
  1402. type: string
  1403. userid:
  1404. description: 用户ID
  1405. type: integer
  1406. type: object
  1407. ermcp.QryErmcpRsp:
  1408. properties:
  1409. accountname:
  1410. description: 账户名称
  1411. type: string
  1412. audittime:
  1413. description: 审核时间
  1414. type: string
  1415. contracctstatus:
  1416. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1417. type: integer
  1418. contractmargin:
  1419. description: 合同保证金
  1420. type: number
  1421. contractno:
  1422. description: 合同编号
  1423. type: string
  1424. contracttype:
  1425. description: 合同类型 1-采购, -1-销售
  1426. type: integer
  1427. convertfactor:
  1428. description: 标仓系数
  1429. type: number
  1430. daikaiamount:
  1431. description: 待开票额
  1432. type: number
  1433. deliveryenddate:
  1434. description: 交割结束日
  1435. type: string
  1436. deliverygoodscode:
  1437. description: 现货商品代码
  1438. type: string
  1439. deliverygoodsid:
  1440. description: 现货商品ID
  1441. type: integer
  1442. deliverygoodsname:
  1443. description: 现货商品名称
  1444. type: string
  1445. deliverystartdate:
  1446. description: 交割开始日
  1447. type: string
  1448. enddate:
  1449. description: 点价结束日
  1450. type: string
  1451. enumdicname:
  1452. description: 单位名称
  1453. type: string
  1454. goodscode:
  1455. description: 点价商品代码
  1456. type: string
  1457. goodsid:
  1458. description: 点价商品ID
  1459. type: integer
  1460. invoiceamount:
  1461. description: 已开票额
  1462. type: number
  1463. loanamount:
  1464. description: 贷款总额=已定价额+调整金额
  1465. type: number
  1466. margin:
  1467. description: 保证金
  1468. type: number
  1469. payamount:
  1470. description: 已收付额(收款或付款)
  1471. type: number
  1472. price:
  1473. description: 价格
  1474. type: number
  1475. pricedamount:
  1476. description: 已定价额
  1477. type: number
  1478. pricedavg:
  1479. description: 已点均价
  1480. type: number
  1481. pricedqty:
  1482. description: 已定价量
  1483. type: number
  1484. pricemove:
  1485. description: 升贴水
  1486. type: number
  1487. pricetype:
  1488. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1489. type: integer
  1490. producttype:
  1491. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1492. type: integer
  1493. qty:
  1494. description: 合同量
  1495. type: number
  1496. reckonadjustamount:
  1497. description: 调整金额
  1498. type: number
  1499. reckonedamount:
  1500. description: 已收付额(已确定额)
  1501. type: number
  1502. reckonotheramount:
  1503. description: 其它费用
  1504. type: number
  1505. reckonrealqty:
  1506. description: 已确定量
  1507. type: number
  1508. remark:
  1509. description: 备注
  1510. type: string
  1511. spotcontractid:
  1512. description: 合同ID
  1513. type: string
  1514. spotgoodsdesc:
  1515. description: 商品型号(商品规格)
  1516. type: string
  1517. startdate:
  1518. description: 点价开始日
  1519. type: string
  1520. totalamount:
  1521. description: 合计总额
  1522. type: number
  1523. unpayamount:
  1524. description: 待支收额(支付或收款)
  1525. type: number
  1526. unpricedqty:
  1527. description: 未定价量
  1528. type: number
  1529. unsureqty:
  1530. description: 未确定量
  1531. type: number
  1532. userid:
  1533. description: 用户ID
  1534. type: integer
  1535. type: object
  1536. ermcp.QryGGCovertCfgRsp:
  1537. properties:
  1538. convertratio:
  1539. description: 折算系数
  1540. type: number
  1541. destgoodsgroupid:
  1542. description: 目标品种ID
  1543. type: integer
  1544. dstcode:
  1545. description: 目录品种代码
  1546. type: string
  1547. dstname:
  1548. description: 目标品种名称
  1549. type: string
  1550. dstunitid:
  1551. description: 目标品种单位ID
  1552. type: integer
  1553. dstunitidname:
  1554. description: 目标品种单位名称
  1555. type: string
  1556. srccode:
  1557. description: 源品种代码
  1558. type: string
  1559. srcgoodsgroupid:
  1560. description: 源品种ID
  1561. type: integer
  1562. srcname:
  1563. description: 源品种名称
  1564. type: string
  1565. srcunitid:
  1566. description: 源品种单位ID
  1567. type: integer
  1568. srcunitidname:
  1569. description: 源品种单位名称
  1570. type: string
  1571. type: object
  1572. ermcp.QryHedgePlanRsp:
  1573. properties:
  1574. areauserid:
  1575. description: 用户ID
  1576. type: integer
  1577. contracttype:
  1578. description: 计划类型 - 1:采购 -1:销售
  1579. type: integer
  1580. convertfactor:
  1581. description: 标仓系数
  1582. type: number
  1583. deliverygoodsid:
  1584. description: 现货品种ID
  1585. type: integer
  1586. deliverygoodsname:
  1587. description: 现货品种名称
  1588. type: string
  1589. hedgeplanid:
  1590. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  1591. type: string
  1592. hedgeplanno:
  1593. description: 套保计划编号(名称)
  1594. type: string
  1595. hedgeplanstatus:
  1596. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1597. type: integer
  1598. planqty:
  1599. description: 计划数量
  1600. type: number
  1601. plantime:
  1602. description: 计划时间
  1603. type: string
  1604. producttype:
  1605. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1606. type: integer
  1607. remark:
  1608. description: 备注
  1609. type: string
  1610. spotgoodsdesc:
  1611. description: 商品型号
  1612. type: string
  1613. wrstandardid:
  1614. description: 现货商品ID
  1615. type: integer
  1616. wrstandardname:
  1617. description: 现货商品名称
  1618. type: string
  1619. type: object
  1620. ermcp.QryMGChangeLogRsp:
  1621. properties:
  1622. aftervalue:
  1623. description: 变更后
  1624. type: number
  1625. applyid:
  1626. description: 操作人
  1627. type: integer
  1628. applyname:
  1629. description: 操作人名称
  1630. type: string
  1631. applysrc:
  1632. description: 操作来源 - 1:管理端 2:终端
  1633. type: integer
  1634. beforevalue:
  1635. description: 变更前
  1636. type: number
  1637. changelogtype:
  1638. description: 变更流水类型 - 1:套保比率变更
  1639. type: integer
  1640. handlestatus:
  1641. description: 处理状态
  1642. type: integer
  1643. logdatetime:
  1644. description: 流水日期
  1645. type: string
  1646. logid:
  1647. description: 流水ID
  1648. type: integer
  1649. logremark:
  1650. description: 流水备注
  1651. type: string
  1652. middlegoodsid:
  1653. description: 套保品种ID
  1654. type: integer
  1655. tradedate:
  1656. description: 交易日(yyyyMMdd)
  1657. type: string
  1658. updatetime:
  1659. description: 更新时间
  1660. type: string
  1661. type: object
  1662. ermcp.QryMiddleGoodsDetailRsp:
  1663. properties:
  1664. cvList:
  1665. description: 期货品种折算列表
  1666. items:
  1667. $ref: '#/definitions/models.GoodsGroupConvert'
  1668. type: array
  1669. mg:
  1670. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1671. description: 套保品种基本信息
  1672. type: object
  1673. ermcp.QryMiddleGoodsRsp:
  1674. properties:
  1675. areauserid:
  1676. description: 机构用户ID
  1677. type: integer
  1678. enumdicname:
  1679. description: 单位名称
  1680. type: string
  1681. evaluateratio:
  1682. description: 估价系数
  1683. type: number
  1684. goodsgroupid:
  1685. description: 关联期货品种ID
  1686. type: integer
  1687. isvalid:
  1688. description: 状态 0-无效(停用) 1-有效(正常)
  1689. type: integer
  1690. middlegoodscode:
  1691. description: 套保品种代码
  1692. type: string
  1693. middlegoodsid:
  1694. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1695. type: integer
  1696. middlegoodsname:
  1697. description: 套保品种名称
  1698. type: string
  1699. modifytime:
  1700. description: 修改时间
  1701. type: string
  1702. needhedgeratio:
  1703. description: 套保比率
  1704. type: number
  1705. qtydecimalplace:
  1706. description: 数量小数位
  1707. type: integer
  1708. relatedgoodsid:
  1709. description: 关联交易商品ID
  1710. type: integer
  1711. relatedgoodstype:
  1712. description: 关联商品类型 - 1:期货合约 2:现货品种
  1713. type: integer
  1714. type: object
  1715. ermcp.QryOPLogRsp:
  1716. properties:
  1717. aftervalue:
  1718. description: 变更后
  1719. type: number
  1720. applyid:
  1721. description: 操作人ID
  1722. type: string
  1723. applyname:
  1724. description: 操作人名称
  1725. type: string
  1726. beforevalue:
  1727. description: 变更前
  1728. type: number
  1729. biztype:
  1730. description: 业务类型 - 1:套保计划 2:现货合同
  1731. type: integer
  1732. contracttype:
  1733. description: 现货合同类型 - 1:采购 -1:销售
  1734. type: integer
  1735. logvalue:
  1736. description: 数值
  1737. type: number
  1738. operatelogtype:
  1739. description: 操作流水类型
  1740. type: integer
  1741. operatelogtypedesc:
  1742. description: 操作流水类型名称
  1743. type: string
  1744. relatedid:
  1745. description: 现货合同ID\套保计划
  1746. type: string
  1747. updatetime:
  1748. description: 更新时间
  1749. type: string
  1750. type: object
  1751. ermcp.QrySpotContractRsp:
  1752. properties:
  1753. amount:
  1754. description: 金额 [1:一口价、3:暂定价]
  1755. type: number
  1756. auditremark:
  1757. description: 审核意见
  1758. type: string
  1759. audittime:
  1760. description: 审核时间
  1761. type: string
  1762. brandname:
  1763. description: 品牌名称
  1764. type: string
  1765. buyuserid:
  1766. description: 采购方ID
  1767. type: integer
  1768. buyusername:
  1769. description: 采购方名称
  1770. type: string
  1771. contracctstatus:
  1772. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1773. type: integer
  1774. contractmargin:
  1775. description: 合同保证金
  1776. type: number
  1777. contractno:
  1778. description: 现货合同编号
  1779. type: string
  1780. contracttype:
  1781. description: 现货合同类型 - 1:采购 -1:销售
  1782. type: integer
  1783. convertfactor:
  1784. description: 标仓系数
  1785. type: number
  1786. createtime:
  1787. description: 创建时间
  1788. type: string
  1789. deliveryenddate:
  1790. description: 交收期(结束)
  1791. type: string
  1792. deliverygoodscode:
  1793. description: 现货品种代码
  1794. type: string
  1795. deliverygoodsid:
  1796. description: 现货品种ID
  1797. type: integer
  1798. deliverygoodsname:
  1799. description: 现货品种名称
  1800. type: string
  1801. deliverystartdate:
  1802. description: 交收期(开始)
  1803. type: string
  1804. enddate:
  1805. description: 点价结束日期 [2:点价 3:暂定价]
  1806. type: string
  1807. enumdicname:
  1808. description: 单位名称
  1809. type: string
  1810. goodscode:
  1811. description: 点价合约代码
  1812. type: string
  1813. goodsid:
  1814. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  1815. type: integer
  1816. margin:
  1817. description: 当前保证金
  1818. type: number
  1819. modelname:
  1820. description: 型号名称
  1821. type: string
  1822. price:
  1823. description: 价格\暂定价 [1:一口价、3:暂定价]
  1824. type: number
  1825. pricemove:
  1826. description: 升贴水 [2:点价 3:暂定价]
  1827. type: number
  1828. pricetype:
  1829. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1830. type: integer
  1831. producttype:
  1832. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1833. type: integer
  1834. qty:
  1835. description: 数量
  1836. type: number
  1837. remark:
  1838. description: 备注
  1839. type: string
  1840. selluserid:
  1841. description: 销售方ID
  1842. type: integer
  1843. sellusername:
  1844. description: 销售方名称
  1845. type: string
  1846. spotcontractid:
  1847. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  1848. type: string
  1849. spotgoodsbrandid:
  1850. description: 现货品牌ID
  1851. type: integer
  1852. spotgoodsdesc:
  1853. description: 商品型号
  1854. type: string
  1855. spotgoodsmodelid:
  1856. description: 现货型号ID
  1857. type: integer
  1858. startdate:
  1859. description: 点价开始日期 [2:点价 3:暂定价]
  1860. type: string
  1861. userid:
  1862. description: 机构ID
  1863. type: integer
  1864. wrstandardid:
  1865. description: 现货商品ID
  1866. type: integer
  1867. type: object
  1868. ermcp.QryUserInfoRsp:
  1869. properties:
  1870. address:
  1871. description: 通讯地址
  1872. type: string
  1873. attachment1:
  1874. description: 附件1
  1875. type: string
  1876. cardfrontphotourl:
  1877. description: 证件正面图片地址
  1878. type: string
  1879. cardnum:
  1880. description: 证件号码
  1881. type: string
  1882. cardtype:
  1883. description: 证件类型
  1884. type: integer
  1885. cardtypename:
  1886. description: 证件类型名称
  1887. type: string
  1888. cityid:
  1889. description: 市
  1890. type: integer
  1891. countryid:
  1892. description: 国家
  1893. type: integer
  1894. customername:
  1895. description: 企业名称
  1896. type: string
  1897. memberuserid:
  1898. description: 所属机构ID
  1899. type: integer
  1900. mobile:
  1901. description: 手机号码
  1902. type: string
  1903. provinceid:
  1904. description: 省
  1905. type: integer
  1906. remark:
  1907. description: 备注
  1908. type: string
  1909. status:
  1910. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  1911. type: integer
  1912. statusdesc:
  1913. description: 账户状态中文描述
  1914. type: string
  1915. telphone:
  1916. description: 联系电话
  1917. type: string
  1918. userid:
  1919. description: 用户ID
  1920. type: integer
  1921. userinfotype:
  1922. description: 客户类型
  1923. type: string
  1924. type: object
  1925. ermcp.QryWrStandardDetailRsp:
  1926. properties:
  1927. gbList:
  1928. description: 品牌列表
  1929. items:
  1930. $ref: '#/definitions/models.GoodsBrand'
  1931. type: array
  1932. gtList:
  1933. description: 型号列表
  1934. items:
  1935. $ref: '#/definitions/models.GoodsTypeModel'
  1936. type: array
  1937. wrd:
  1938. $ref: '#/definitions/models.ErmcpWrstandard'
  1939. description: 基本信息
  1940. wrsList:
  1941. description: 套保信息列表
  1942. items:
  1943. $ref: '#/definitions/models.WRSConverTDetail'
  1944. type: array
  1945. type: object
  1946. ermcp.QryWrStandardRsp:
  1947. properties:
  1948. areauserid:
  1949. description: 所属机构
  1950. type: integer
  1951. createtime:
  1952. description: 创建时间
  1953. type: string
  1954. creatorid:
  1955. description: 创建人
  1956. type: integer
  1957. deliverygoodsid:
  1958. description: 品种ID
  1959. type: integer
  1960. enumdicname:
  1961. description: 单位名称
  1962. type: string
  1963. isvalid:
  1964. description: 是否有效 0-无效(停用) 1-有效(正常)
  1965. type: integer
  1966. minivalue:
  1967. description: 最小变动值
  1968. type: integer
  1969. minivaluedp:
  1970. description: 最小变动值小数位
  1971. type: integer
  1972. realminivalue:
  1973. description: 实际最小变动值
  1974. type: integer
  1975. realminivaluedp:
  1976. description: 实际最小变动值小数位
  1977. type: integer
  1978. remark:
  1979. description: 备注
  1980. type: string
  1981. unitid:
  1982. description: 单位ID
  1983. type: integer
  1984. updatetime:
  1985. description: 更新时间
  1986. type: string
  1987. wrstandardcode:
  1988. description: 现货商品代码
  1989. type: string
  1990. wrstandardid:
  1991. description: 现货商品ID(SEQ_WRSTANDARD)
  1992. type: integer
  1993. wrstandardname:
  1994. description: 现货商品名称
  1995. type: string
  1996. type: object
  1997. ermcp.RealtimeExposurePositionRsp:
  1998. properties:
  1999. areauserid:
  2000. description: 所属机构id
  2001. type: integer
  2002. curqty:
  2003. description: 当前持仓
  2004. type: integer
  2005. diffhedgeqty:
  2006. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2007. type: number
  2008. diffqty:
  2009. description: 持仓变动量=当前持仓-昨日持仓
  2010. type: integer
  2011. goodscode:
  2012. description: 商品代码
  2013. type: string
  2014. goodsid:
  2015. description: 商品id
  2016. type: integer
  2017. goodsname:
  2018. description: 商品名称
  2019. type: string
  2020. middlegoodsid:
  2021. description: 套保商品id
  2022. type: integer
  2023. ydqty:
  2024. description: 昨日持仓
  2025. type: integer
  2026. type: object
  2027. ermcp.RealtimeExposureRsp:
  2028. properties:
  2029. areaUserID:
  2030. description: 所属机构
  2031. type: integer
  2032. buyFutureQty:
  2033. description: 买入期货数量
  2034. type: number
  2035. buyPlanQty:
  2036. description: 采购计划数量
  2037. type: number
  2038. buyPricedQty:
  2039. description: 采购合同已定价数量
  2040. type: number
  2041. diffFutuQty:
  2042. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2043. type: number
  2044. diffSpotQty:
  2045. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2046. type: number
  2047. middleGoodsCode:
  2048. description: 套保品种代码
  2049. type: string
  2050. middleGoodsHedgeRatio:
  2051. description: 应套保比例
  2052. type: number
  2053. middleGoodsID:
  2054. description: 套保品种
  2055. type: integer
  2056. middleGoodsName:
  2057. description: 套保品种名称
  2058. type: string
  2059. needHedgeExposoure:
  2060. description: 应套保敞口
  2061. type: number
  2062. needHedgeRatio:
  2063. description: 应套保敞口比例
  2064. type: number
  2065. oriBuyFutureQty:
  2066. description: 期初买入期货数量
  2067. type: number
  2068. oriBuyPlanQty:
  2069. description: 期初采购计划数量
  2070. type: number
  2071. oriBuyPricedQty:
  2072. description: 期初采购合同已定价数量
  2073. type: number
  2074. oriSellFutureQty:
  2075. description: 期初卖出期货数量
  2076. type: number
  2077. oriSellPlanQty:
  2078. description: 期初销售计划数量
  2079. type: number
  2080. oriSellPricedQty:
  2081. description: 期初销售合同已定价数量
  2082. type: number
  2083. oriTotalFutuQty:
  2084. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2085. type: number
  2086. oriTotalSpotQty:
  2087. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2088. type: number
  2089. sellFutureQty:
  2090. description: 卖出期货数量
  2091. type: number
  2092. sellPlanQty:
  2093. description: 销售计划数量
  2094. type: number
  2095. sellPricedQty:
  2096. description: 销售合同已定价数量
  2097. type: number
  2098. totalExposure:
  2099. description: 总敞口
  2100. type: number
  2101. totalFutureQty:
  2102. description: 期货数量
  2103. type: number
  2104. totalHedgeRatio:
  2105. description: 敞口比例
  2106. type: number
  2107. totalNeedHedgeQty:
  2108. description: 期货应套保量
  2109. type: number
  2110. totalSpotQty:
  2111. description: 现货数量
  2112. type: number
  2113. type: object
  2114. erms2.QueryArbitrageStrategyRsp:
  2115. properties:
  2116. applybasis:
  2117. description: 申请基差
  2118. type: number
  2119. asapplyid:
  2120. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2121. type: string
  2122. asname:
  2123. description: 策略名称
  2124. type: string
  2125. asno:
  2126. description: 策略编号
  2127. type: string
  2128. basischangepl:
  2129. description: 基差变动损益[结算更新]
  2130. type: number
  2131. biztype:
  2132. description: 业务类型 - 1:正向套利 -1:反向套利
  2133. type: integer
  2134. closetradedate:
  2135. description: 完结交易日(yyyyMMdd)
  2136. type: string
  2137. curbasis:
  2138. description: 当前基差[结算更新]
  2139. type: number
  2140. deliverygoodsid:
  2141. description: 现货品种ID
  2142. type: integer
  2143. futureavgprice:
  2144. description: 期货建仓均价
  2145. type: number
  2146. futurecloseamount:
  2147. description: 期货平仓金额
  2148. type: number
  2149. futurecloseqty:
  2150. description: 期货平仓数量
  2151. type: number
  2152. futureopenamount:
  2153. description: 期货开仓金额
  2154. type: number
  2155. futureopenqty:
  2156. description: 期货开仓数量
  2157. type: number
  2158. futurepl:
  2159. description: 期货总盈亏[结算更新]
  2160. type: number
  2161. futureqty:
  2162. description: 期货持仓数量
  2163. type: number
  2164. futurequote:
  2165. description: 期货额度
  2166. type: number
  2167. goodsgroupid:
  2168. description: 期货品种ID
  2169. type: integer
  2170. marketid:
  2171. description: 市场ID
  2172. type: integer
  2173. netexposure:
  2174. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2175. type: number
  2176. netexposurepl:
  2177. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2178. type: number
  2179. netexposurerate:
  2180. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2181. type: number
  2182. openbasis:
  2183. description: 建仓基差
  2184. type: number
  2185. pricedspotqty:
  2186. description: 已定价现货数量
  2187. type: number
  2188. pricedspotqtynotax:
  2189. description: 已定价现货不含税数量
  2190. type: number
  2191. remark:
  2192. description: 备注
  2193. type: string
  2194. spotavgprice:
  2195. description: 现货均价
  2196. type: number
  2197. spotbuyamount:
  2198. description: 现货采购金额
  2199. type: number
  2200. spotbuyqty:
  2201. description: 现货采购数量
  2202. type: number
  2203. spotpl:
  2204. description: 现货总盈亏[结算更新]
  2205. type: number
  2206. spotquota:
  2207. description: 现货额度
  2208. type: number
  2209. spotsellamount:
  2210. description: 现货销售金额
  2211. type: number
  2212. spotsellqty:
  2213. description: 现货销售数量
  2214. type: number
  2215. spotusedquota:
  2216. description: 现货占用资金
  2217. type: number
  2218. strategystatus:
  2219. description: 策略状态 - 0:未结束 1:已结束
  2220. type: integer
  2221. totalpl:
  2222. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2223. type: number
  2224. tradedate:
  2225. description: 交易日(yyyyMMdd)
  2226. type: string
  2227. updatetime:
  2228. description: 更新时间
  2229. type: string
  2230. usedquota:
  2231. description: 已占用资金
  2232. type: number
  2233. userid:
  2234. description: 所属机构
  2235. type: integer
  2236. required:
  2237. - asapplyid
  2238. type: object
  2239. erms2.QueryInnerTradeDetailRsp:
  2240. properties:
  2241. accountid:
  2242. description: 账号ID
  2243. type: integer
  2244. agreeunit:
  2245. description: 合约单位
  2246. type: number
  2247. asapplyid:
  2248. description: 策略申请ID
  2249. type: integer
  2250. asname:
  2251. description: 策略名称
  2252. type: string
  2253. asno:
  2254. description: 策略编号
  2255. type: string
  2256. buyorsell:
  2257. description: 方向 - 0:买 1:卖
  2258. type: integer
  2259. channelbuildtype:
  2260. description: 委托单据类型 0:无 1:建仓 2:平仓
  2261. type: integer
  2262. closetype:
  2263. description: 平仓方式 - 0:无 1:平今 2:平昨
  2264. type: integer
  2265. decimalplace:
  2266. description: 报价小数位
  2267. type: integer
  2268. detailtype:
  2269. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2270. type: integer
  2271. exexchangecode:
  2272. description: 外部交易所代码
  2273. type: string
  2274. exexchangename:
  2275. description: 外部交易所名称
  2276. type: string
  2277. goodscode:
  2278. description: 商品代码(合约)
  2279. type: string
  2280. goodsgroupid:
  2281. description: 商品组ID(品种ID)
  2282. type: integer
  2283. goodsgroupname:
  2284. description: 商品组名称(品种)
  2285. type: string
  2286. goodsid:
  2287. description: 商品ID
  2288. type: integer
  2289. goodsname:
  2290. description: 商品名称(合约)
  2291. type: string
  2292. goodunit:
  2293. description: 报价单位
  2294. type: string
  2295. marketid:
  2296. description: 市场ID
  2297. type: integer
  2298. orderid:
  2299. description: 委托单号
  2300. type: string
  2301. outgoodscode:
  2302. description: 商品代码(外部)
  2303. type: string
  2304. relatedouttradeid:
  2305. description: 关联外部成交单ID
  2306. type: string
  2307. remark:
  2308. description: 备注
  2309. type: string
  2310. spotcontractid:
  2311. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2312. type: integer
  2313. spotcontractno:
  2314. description: 现货合同编号
  2315. type: string
  2316. tradeid:
  2317. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2318. type: string
  2319. tradeprice:
  2320. description: 成交价格
  2321. type: number
  2322. tradeqty:
  2323. description: 成交数量
  2324. type: integer
  2325. tradetime:
  2326. description: 成交时间
  2327. type: string
  2328. updatetime:
  2329. description: 更新时间
  2330. type: string
  2331. required:
  2332. - asapplyid
  2333. - buyorsell
  2334. - goodscode
  2335. - goodsgroupid
  2336. - goodsgroupname
  2337. - goodsname
  2338. - tradeid
  2339. type: object
  2340. erms2.QuerySpotContractRsp:
  2341. properties:
  2342. accountid:
  2343. description: 资金账户ID
  2344. type: integer
  2345. areauserid:
  2346. description: 所属机构
  2347. type: integer
  2348. closedate:
  2349. description: 终止日期
  2350. type: string
  2351. closeremark:
  2352. description: 结束备注
  2353. type: string
  2354. closetradedate:
  2355. description: 完结交易日(yyyyMMdd)
  2356. type: string
  2357. closetype:
  2358. description: 终止类型 - 1:违约 2:提前终止
  2359. type: integer
  2360. contractamount:
  2361. description: 合同金额
  2362. type: number
  2363. contractattachment:
  2364. description: 合同附件
  2365. type: string
  2366. contractno:
  2367. description: 现货合同编号
  2368. type: string
  2369. contractqty:
  2370. description: 合同数量(数值) (用于计算)
  2371. type: number
  2372. contractqtychar:
  2373. description: 合同数量\已订价数量 (用于显示)
  2374. type: string
  2375. contractstatus:
  2376. description: 合同状态 - 0:未结束 1:已结束
  2377. type: integer
  2378. contracttype:
  2379. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2380. type: integer
  2381. customeraccountid:
  2382. description: 客户资金账户ID
  2383. type: integer
  2384. customeruserid:
  2385. description: 客户ID
  2386. type: integer
  2387. deliverygoodsdesc:
  2388. description: 品种说明
  2389. type: string
  2390. deliverygoodsid:
  2391. description: 现货品种ID
  2392. type: integer
  2393. handlestatus:
  2394. description: 处理状态
  2395. type: integer
  2396. invoiceatt:
  2397. description: 发票附件
  2398. type: string
  2399. invoicedatetime:
  2400. description: 开收票更新时间
  2401. type: string
  2402. invoiceopentime:
  2403. description: 开票时间
  2404. type: string
  2405. invoiceremark:
  2406. description: 发票备注
  2407. type: string
  2408. invoicestatus:
  2409. description: 开收票状态 - 0:未开票 1:已开票
  2410. type: integer
  2411. lastdate:
  2412. description: 交货时间
  2413. type: string
  2414. marketid:
  2415. description: 市场ID
  2416. type: integer
  2417. paydatetime:
  2418. description: 收付款更新时间
  2419. type: string
  2420. payremark:
  2421. description: 收付款备注
  2422. type: string
  2423. paystatus:
  2424. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2425. type: integer
  2426. positionqty:
  2427. description: 头寸数量 - 合同数量去小数部分
  2428. type: integer
  2429. producttype:
  2430. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2431. type: integer
  2432. relatedqty:
  2433. description: 已关联数量
  2434. type: number
  2435. relatedstatus:
  2436. description: 关联完结状态 - 0:未结束 1:已结束
  2437. type: integer
  2438. remark:
  2439. description: 备注
  2440. type: string
  2441. signdate:
  2442. description: 签订日期
  2443. type: string
  2444. spotcontractid:
  2445. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2446. type: string
  2447. spotdatetime:
  2448. description: 收发货更新时间
  2449. type: string
  2450. spotprice:
  2451. description: 价格
  2452. type: number
  2453. spotremark:
  2454. description: 收发货备注
  2455. type: string
  2456. spotstatus:
  2457. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2458. type: integer
  2459. tradedate:
  2460. description: 交易日(yyyyMMdd)
  2461. type: string
  2462. userid:
  2463. description: 业务员用户ID
  2464. type: integer
  2465. warehouseid:
  2466. description: 仓库ID
  2467. type: integer
  2468. wrfactortypeid:
  2469. description: 仓单要素类型ID
  2470. type: integer
  2471. wrstandardid:
  2472. description: 仓单标准ID(SEQ_WRSTANDARD)
  2473. type: integer
  2474. required:
  2475. - spotcontractid
  2476. type: object
  2477. erms3.AddErms2ASApplyReq:
  2478. properties:
  2479. applybasis:
  2480. description: 申请基差
  2481. type: number
  2482. applystatus:
  2483. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2484. type: integer
  2485. asapplyid:
  2486. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2487. type: integer
  2488. asname:
  2489. description: 策略名称
  2490. type: string
  2491. asno:
  2492. description: 策略编号
  2493. type: string
  2494. auditid:
  2495. description: 审核人
  2496. type: integer
  2497. auditremark:
  2498. description: 审核备注
  2499. type: string
  2500. audittime:
  2501. description: 审核时间
  2502. type: string
  2503. biztype:
  2504. description: 业务类型 - 1:正向套利 2:反向套利
  2505. type: integer
  2506. createtime:
  2507. description: 创建时间
  2508. type: string
  2509. creatorid:
  2510. description: 创建人
  2511. type: integer
  2512. deliverygoodsid:
  2513. description: 现货品种ID
  2514. type: integer
  2515. futurequote:
  2516. description: 期货额度
  2517. type: number
  2518. goodsgroupid:
  2519. description: 期货品种ID
  2520. type: integer
  2521. marketid:
  2522. description: 市场ID
  2523. type: integer
  2524. remark:
  2525. description: 备注
  2526. type: string
  2527. spotquota:
  2528. description: 现货额度
  2529. type: number
  2530. tradedate:
  2531. description: 交易日(yyyyMMdd)
  2532. type: string
  2533. userid:
  2534. description: 所属机构
  2535. type: integer
  2536. required:
  2537. - asapplyid
  2538. type: object
  2539. erms3.AddErms2SpotTradeApplyReq:
  2540. properties:
  2541. applyjsondetail:
  2542. description: 申请明细(JSON)
  2543. type: string
  2544. applystatus:
  2545. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2546. type: integer
  2547. areauserid:
  2548. description: 所属机构
  2549. type: integer
  2550. auditid:
  2551. description: 审核人
  2552. type: integer
  2553. auditremark:
  2554. description: 审核备注
  2555. type: string
  2556. audittime:
  2557. description: 审核时间
  2558. type: string
  2559. createtime:
  2560. description: 创建时间
  2561. type: string
  2562. creatorid:
  2563. description: 创建人
  2564. type: integer
  2565. deliverygoodsid:
  2566. description: 现货品种ID
  2567. type: integer
  2568. futureaccountid:
  2569. description: 期货资金账户
  2570. type: integer
  2571. goodsgroupid:
  2572. description: 期货品种
  2573. type: integer
  2574. marketid:
  2575. description: 市场ID
  2576. type: integer
  2577. remark:
  2578. description: 备注
  2579. type: string
  2580. spotaccountid:
  2581. description: 现货资金账户
  2582. type: integer
  2583. spottradeid:
  2584. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2585. type: integer
  2586. spottradename:
  2587. description: 业务名称
  2588. type: string
  2589. spottradeno:
  2590. description: 业务编号
  2591. type: string
  2592. tradedate:
  2593. description: 交易日(yyyyMMdd)
  2594. type: string
  2595. wrstandardid:
  2596. description: 仓单标准ID
  2597. type: integer
  2598. required:
  2599. - spottradeid
  2600. type: object
  2601. erms3.AddSpotContractApplyReq:
  2602. properties:
  2603. accountid:
  2604. description: 资金账户ID
  2605. type: integer
  2606. areauserid:
  2607. description: 所属机构
  2608. type: integer
  2609. contractattachment:
  2610. description: 合同附件
  2611. type: string
  2612. contractno:
  2613. description: 现货合同编号
  2614. type: string
  2615. contracttype:
  2616. description: 现货合同类型 - 1:采购 -1:销售
  2617. type: integer
  2618. creatorid:
  2619. description: 申请人
  2620. type: integer
  2621. customeraccountid:
  2622. description: 客户资金账户ID
  2623. type: integer
  2624. customeruserid:
  2625. description: 客户ID
  2626. type: integer
  2627. details:
  2628. description: 明细
  2629. items:
  2630. $ref: '#/definitions/erms3.SoptContractDetail'
  2631. type: array
  2632. orimargin:
  2633. description: 初始保证金
  2634. type: number
  2635. remark:
  2636. description: 备注
  2637. type: string
  2638. signdate:
  2639. description: 签订日期
  2640. type: string
  2641. required:
  2642. - accountid
  2643. - areauserid
  2644. - contractno
  2645. - contracttype
  2646. - customeraccountid
  2647. - customeruserid
  2648. - details
  2649. - orimargin
  2650. - signdate
  2651. type: object
  2652. erms3.AddSpotContractApplyRsp:
  2653. properties:
  2654. contractno:
  2655. description: 现货合同编号
  2656. type: string
  2657. spotcontractid:
  2658. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2659. type: integer
  2660. required:
  2661. - contractno
  2662. type: object
  2663. erms3.AddUserInfoApplyReq:
  2664. properties:
  2665. accountid:
  2666. description: 交易系统帐号Id (加密存储)
  2667. type: integer
  2668. areacode:
  2669. description: 机构代码
  2670. type: string
  2671. areaid:
  2672. description: 机构Id
  2673. type: integer
  2674. attachment1:
  2675. description: 附件1
  2676. type: string
  2677. attachment2:
  2678. description: 附件2
  2679. type: string
  2680. attachment3:
  2681. description: 附件3
  2682. type: string
  2683. attachment4:
  2684. description: 附件4
  2685. type: string
  2686. attachment5:
  2687. description: 附件5
  2688. type: string
  2689. auditedby:
  2690. description: 审核人
  2691. type: string
  2692. auditime:
  2693. description: 审核时间
  2694. type: string
  2695. bankaccount:
  2696. description: 银行帐号 (加密存储)
  2697. type: string
  2698. bankaccountname:
  2699. description: 收款人名称
  2700. type: string
  2701. bankcardbackphotourl:
  2702. description: 银行卡背面照地址
  2703. type: string
  2704. bankcardfrontphotourl:
  2705. description: 银行卡正面照地址
  2706. type: string
  2707. bankid:
  2708. description: 银行编码
  2709. type: string
  2710. bankname:
  2711. description: 银行名称
  2712. type: string
  2713. bankpictureurl:
  2714. description: 银行卡正面地址
  2715. type: string
  2716. biznature:
  2717. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2718. type: integer
  2719. bizscope:
  2720. description: 企业经营范围(企业)
  2721. type: string
  2722. biztype:
  2723. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2724. type: integer
  2725. brokerid:
  2726. description: 经纪人ID(加密存储)
  2727. type: string
  2728. cardaddress:
  2729. description: 证件地址 (加密存储)
  2730. type: string
  2731. cardbackphotourl:
  2732. description: 背面证件照地址
  2733. type: string
  2734. cardfrontphotourl:
  2735. description: 正面证件照地址
  2736. type: string
  2737. cardnum:
  2738. description: 证件号码 (加密存储)
  2739. type: string
  2740. cardtype:
  2741. description: 证件类型
  2742. type: integer
  2743. cityid:
  2744. description: 市
  2745. type: integer
  2746. company:
  2747. description: 公司(个人)
  2748. type: string
  2749. contactcardbackphotourl:
  2750. description: 联系人证件背面图片地址
  2751. type: string
  2752. contactcardfrontphotourl:
  2753. description: 联系人证件正面图片地址
  2754. type: string
  2755. contactname:
  2756. description: 联系人
  2757. type: string
  2758. countryid:
  2759. description: 国家
  2760. type: integer
  2761. createtime:
  2762. description: 开户申请时间
  2763. type: string
  2764. cusbankid:
  2765. description: 签约类型
  2766. type: string
  2767. cusbankname:
  2768. description: 签约类型名称
  2769. type: string
  2770. customername:
  2771. description: 客户名称(企业名称)
  2772. type: string
  2773. districtid:
  2774. description: 地区
  2775. type: integer
  2776. email:
  2777. description: Email地址(加密存储)
  2778. type: string
  2779. halfbodyphotourl:
  2780. description: 半身照地址
  2781. type: string
  2782. headurl:
  2783. description: 头像地址
  2784. type: string
  2785. ipaddress:
  2786. description: IP地址
  2787. type: string
  2788. isvalidate:
  2789. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2790. type: string
  2791. legalcardbackphotourl:
  2792. description: 法人身份证背面照地址
  2793. type: string
  2794. legalcardfrontphotourl:
  2795. description: 法人身份证正面照地址
  2796. type: string
  2797. legalpersonname:
  2798. description: 法人姓名(企业)
  2799. type: string
  2800. logincode:
  2801. description: 登录帐号 (加密存储)
  2802. type: string
  2803. memberareaid:
  2804. description: 所属会员ID
  2805. type: integer
  2806. mobile2:
  2807. description: 手机号码[明文-尚志]
  2808. type: string
  2809. mobilephone:
  2810. description: 手机号码 (加密存储)
  2811. type: string
  2812. modifiedby:
  2813. description: 修改人帐号
  2814. type: integer
  2815. modifiedtime:
  2816. description: 修改时间
  2817. type: string
  2818. nickname:
  2819. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2820. type: string
  2821. openmode:
  2822. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2823. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2824. type: integer
  2825. otherurl:
  2826. description: 其它图片地址[使用分号分隔]
  2827. type: string
  2828. postalcode:
  2829. description: 邮政编码
  2830. type: string
  2831. provinceid:
  2832. description: 省
  2833. type: integer
  2834. proxystatementurl:
  2835. description: 授权委托书
  2836. type: string
  2837. qq:
  2838. description: QQ(加密存储
  2839. type: string
  2840. referral:
  2841. description: 推荐人编码
  2842. type: string
  2843. remark:
  2844. description: 备注
  2845. type: string
  2846. removebeforestatus:
  2847. description: REMOVEBEFORESTATUS
  2848. type: integer
  2849. sex:
  2850. description: 性别 - 0:女 1:男
  2851. type: integer
  2852. signedstatus:
  2853. description: 账户一号签签约状态
  2854. type: integer
  2855. signpdfurl:
  2856. description: 签约pdf文件
  2857. type: string
  2858. subbranch:
  2859. description: 开户支行
  2860. type: string
  2861. telphone:
  2862. description: 联系电话(加密存储)
  2863. type: string
  2864. userid:
  2865. description: 用户ID(自增ID)
  2866. type: integer
  2867. userinfotype:
  2868. description: 用户信息类型 - 1:个人 2:企业
  2869. type: integer
  2870. username:
  2871. description: 用户姓名
  2872. type: string
  2873. userstate:
  2874. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2875. type: integer
  2876. usertype:
  2877. description: 用户类型 - 1:投资者 2:机构
  2878. type: integer
  2879. videourl:
  2880. description: 视频地址
  2881. type: string
  2882. wechat:
  2883. description: 微信号 (加密存储)
  2884. type: string
  2885. required:
  2886. - userid
  2887. type: object
  2888. erms3.CustomerInfo:
  2889. properties:
  2890. accountids:
  2891. description: 资金账户ID列表
  2892. items:
  2893. type: integer
  2894. type: array
  2895. customername:
  2896. description: 名称(企业名称)
  2897. type: string
  2898. mobile:
  2899. description: 手机号码
  2900. type: string
  2901. userid:
  2902. description: 用户ID
  2903. type: integer
  2904. required:
  2905. - userid
  2906. type: object
  2907. erms3.QryAuditContractRsp:
  2908. properties:
  2909. accountid:
  2910. description: 交易员ID
  2911. type: string
  2912. applystatus:
  2913. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2914. type: integer
  2915. curdeliveryqty:
  2916. description: 未交收量
  2917. type: integer
  2918. customername:
  2919. description: 采购方ID
  2920. type: string
  2921. deliverygoodsid:
  2922. description: 品种ID
  2923. type: string
  2924. deliveryqty:
  2925. description: 交收量
  2926. type: integer
  2927. enumdicname:
  2928. description: 单位名称
  2929. type: string
  2930. matchaccountid:
  2931. description: 业务员ID
  2932. type: string
  2933. matchcustomername:
  2934. description: 销售方ID
  2935. type: string
  2936. pricedqty:
  2937. description: 定价量
  2938. type: number
  2939. signdate:
  2940. description: 签订日期
  2941. type: string
  2942. spotcontractid:
  2943. description: 合同ID
  2944. type: string
  2945. totaldqty:
  2946. description: 合同量
  2947. type: number
  2948. unpricedqty:
  2949. description: 未定价量
  2950. type: number
  2951. wrstandardname:
  2952. description: 商品名称
  2953. type: string
  2954. required:
  2955. - matchcustomername
  2956. - spotcontractid
  2957. type: object
  2958. erms3.QryPendingBizRsp:
  2959. properties:
  2960. accountid:
  2961. description: 现货账户
  2962. type: string
  2963. areaname:
  2964. description: 所属部门
  2965. type: string
  2966. bizid:
  2967. description: 业务ID
  2968. type: string
  2969. bizname:
  2970. description: 业务名称
  2971. type: string
  2972. status:
  2973. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2974. type: integer
  2975. type:
  2976. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  2977. type: integer
  2978. type: object
  2979. erms3.QueryBusinessInfoRsp:
  2980. properties:
  2981. businessid:
  2982. description: 业务ID.
  2983. type: integer
  2984. buyamount:
  2985. description: 采购额.
  2986. type: number
  2987. buyqty:
  2988. description: 采购量.
  2989. type: string
  2990. futurepl:
  2991. description: 期货盈亏.
  2992. type: number
  2993. futureqty:
  2994. description: 期货敞口.
  2995. type: string
  2996. goodsid:
  2997. description: 商品名称/商品代码.
  2998. type: string
  2999. hedgingqty:
  3000. description: 套保量.
  3001. type: string
  3002. sellamount:
  3003. description: 销售额.
  3004. type: number
  3005. sellqty:
  3006. description: 销售量.
  3007. type: string
  3008. spotmarketvalue:
  3009. description: 现货市值.
  3010. type: number
  3011. spotpl:
  3012. description: 浮动权益.
  3013. type: number
  3014. spotqty:
  3015. description: 现货量.
  3016. type: string
  3017. statu:
  3018. description: 状态,0-未结束 1-已结束.
  3019. type: integer
  3020. totalpl:
  3021. description: 总盈亏.
  3022. type: number
  3023. totalqty:
  3024. description: 总敞口.
  3025. type: string
  3026. type:
  3027. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3028. type: integer
  3029. type: object
  3030. erms3.QuerySpotContractAppleFormRsp:
  3031. properties:
  3032. goodses:
  3033. description: 合约列表
  3034. items:
  3035. $ref: '#/definitions/models.GoodsIDAndName'
  3036. type: array
  3037. oppositeusers:
  3038. description: 对方账号列表
  3039. items:
  3040. $ref: '#/definitions/erms3.CustomerInfo'
  3041. type: array
  3042. ouruser:
  3043. $ref: '#/definitions/erms3.CustomerInfo'
  3044. description: 我方账号
  3045. warehouseinfos:
  3046. description: 仓库信息列表
  3047. items:
  3048. $ref: '#/definitions/models.Warehouseinfo'
  3049. type: array
  3050. wrstandards:
  3051. description: 仓单标准列表
  3052. items:
  3053. $ref: '#/definitions/models.WRStandardInfo'
  3054. type: array
  3055. type: object
  3056. erms3.QuerySpotContractInfoRsp:
  3057. properties:
  3058. accountid:
  3059. description: 表示交易员ID.
  3060. type: integer
  3061. curdeliveryqty:
  3062. description: 表示未交收量.
  3063. type: number
  3064. customername:
  3065. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3066. type: string
  3067. deliverygoodsid:
  3068. description: 表示品种ID.
  3069. type: string
  3070. deliveryqty:
  3071. description: 表示交收量.
  3072. type: number
  3073. matchaccountid:
  3074. description: 表示业务员ID.
  3075. type: integer
  3076. matchcustomername:
  3077. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3078. type: string
  3079. priceqty:
  3080. description: 表示定价量.
  3081. type: number
  3082. relatedbizid:
  3083. description: 表示业务ID.
  3084. type: string
  3085. signdate:
  3086. description: 表示签订日期.
  3087. type: string
  3088. spotcontractid:
  3089. description: 合同ID
  3090. type: string
  3091. status:
  3092. description: 表示状态,0-履约中 1-已完成.
  3093. type: integer
  3094. totalqty:
  3095. description: 表示合同量.
  3096. type: number
  3097. unpricedqty:
  3098. description: 表示未定价量.
  3099. type: number
  3100. wrstandardname:
  3101. description: 表示商品ID.
  3102. type: string
  3103. type: object
  3104. erms3.QueryUserInfoAppliesRsp:
  3105. properties:
  3106. biznature:
  3107. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3108. type: integer
  3109. contactname:
  3110. description: 联系人
  3111. type: string
  3112. createtime:
  3113. description: 开户申请时间
  3114. type: string
  3115. userid:
  3116. description: 用户ID(自增ID)
  3117. type: integer
  3118. userinfotype:
  3119. description: 用户信息类型 - 1:个人 2:企业
  3120. type: integer
  3121. username:
  3122. description: 用户姓名
  3123. type: string
  3124. userstate:
  3125. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3126. type: integer
  3127. required:
  3128. - userid
  3129. type: object
  3130. erms3.QueryUserInfosRsp:
  3131. properties:
  3132. biznature:
  3133. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3134. type: integer
  3135. contactname:
  3136. description: 联系人
  3137. type: string
  3138. customername:
  3139. description: 客户名称(企业名称)
  3140. type: string
  3141. userid:
  3142. description: 用户ID
  3143. type: integer
  3144. userinfotype:
  3145. description: 用户信息类型 - 1:个人 2:企业
  3146. type: integer
  3147. userstatus:
  3148. description: 用户状态 - 1:正常 2:注销
  3149. type: integer
  3150. required:
  3151. - userid
  3152. type: object
  3153. erms3.SoptContractDetail:
  3154. properties:
  3155. deliverygoodsdesc:
  3156. description: 现货品种说明
  3157. type: string
  3158. deliverygoodsid:
  3159. description: 现货品种ID
  3160. type: integer
  3161. deliverygoodsname:
  3162. description: 现货品种名称
  3163. type: string
  3164. pointdesc:
  3165. description: 点价描述
  3166. type: string
  3167. producttype:
  3168. description: 产品类型 1:标准仓单 2:等标 3:非标
  3169. type: integer
  3170. producttypename:
  3171. description: 产品类型名称
  3172. type: string
  3173. spotPointOrderVoList:
  3174. description: 点价列表
  3175. items:
  3176. $ref: '#/definitions/erms3.SpotPointOrder'
  3177. type: array
  3178. spotPriceOrderList:
  3179. description: 定价列表
  3180. items:
  3181. $ref: '#/definitions/erms3.SpotPriceOrder'
  3182. type: array
  3183. unitname:
  3184. description: 单位名称
  3185. type: string
  3186. warehouseid:
  3187. description: 仓库ID
  3188. type: integer
  3189. warehousename:
  3190. description: 仓库名称
  3191. type: string
  3192. wrstandardid:
  3193. description: 交易标的ID
  3194. type: integer
  3195. wrstandardname:
  3196. description: 交易标的名称
  3197. type: string
  3198. required:
  3199. - deliverygoodsid
  3200. - producttype
  3201. - unitname
  3202. - warehouseid
  3203. - wrstandardid
  3204. - wrstandardname
  3205. type: object
  3206. erms3.SpotPointOrder:
  3207. properties:
  3208. basic:
  3209. description: 基差
  3210. type: number
  3211. deliveryenddate:
  3212. description: 交收结束日期
  3213. type: string
  3214. deliverystartdate:
  3215. description: 交收开始日期
  3216. type: string
  3217. enddate:
  3218. description: 点价结束日期
  3219. type: string
  3220. goodsid:
  3221. description: 商品ID
  3222. type: integer
  3223. goodsname:
  3224. description: 商品名称
  3225. type: string
  3226. qty:
  3227. description: 数量
  3228. type: number
  3229. startdate:
  3230. description: 点价开始日期
  3231. type: string
  3232. required:
  3233. - basic
  3234. - goodsid
  3235. - qty
  3236. type: object
  3237. erms3.SpotPriceOrder:
  3238. properties:
  3239. amount:
  3240. description: 金额
  3241. type: number
  3242. deliveryenddate:
  3243. description: 交收结束日期
  3244. type: string
  3245. deliverystartdate:
  3246. description: 交收开始日期
  3247. type: string
  3248. price:
  3249. description: 价格
  3250. type: number
  3251. qty:
  3252. description: 数量
  3253. type: number
  3254. required:
  3255. - amount
  3256. - price
  3257. - qty
  3258. type: object
  3259. hsby.GetHsbyMyCountRsp:
  3260. properties:
  3261. myCouponCount:
  3262. description: 我的优惠卷数量
  3263. type: integer
  3264. myOrderDetailListingCount:
  3265. description: 我的订单求购中数量
  3266. type: integer
  3267. myOrderDetailPreCount:
  3268. description: 我的订单抢购中数量
  3269. type: integer
  3270. myPackageUnReceiveCount:
  3271. description: 我的包裹待收货数量
  3272. type: integer
  3273. myPackageUnSendCount:
  3274. description: 我的包裹待发货数量
  3275. type: integer
  3276. myPayOrderCount:
  3277. description: 我的订单待付款数量
  3278. type: integer
  3279. type: object
  3280. hsby.QueryProvincesAndCitiesRsp:
  3281. properties:
  3282. cities:
  3283. description: 市
  3284. items:
  3285. $ref: '#/definitions/models.Division'
  3286. type: array
  3287. province:
  3288. $ref: '#/definitions/models.Division'
  3289. description: 省
  3290. type: object
  3291. models.Clientfixedadconfig:
  3292. properties:
  3293. adsort:
  3294. description: 排序
  3295. type: integer
  3296. adtype:
  3297. description: 广告位类型 - 1:新品抢购(HSBY)
  3298. type: integer
  3299. areauserid:
  3300. description: 所属机构ID
  3301. type: integer
  3302. createdate:
  3303. description: 创建时间
  3304. type: string
  3305. creatorid:
  3306. description: 创建人
  3307. type: integer
  3308. imagepath:
  3309. description: 图片
  3310. type: string
  3311. isshow:
  3312. description: 是否展示 - 0:不展示 1:展示
  3313. type: integer
  3314. modifierid:
  3315. description: 操作人
  3316. type: integer
  3317. recsize:
  3318. description: 推荐尺寸
  3319. type: string
  3320. title:
  3321. description: 标题
  3322. type: string
  3323. updatedate:
  3324. description: 更新时间
  3325. type: string
  3326. urlcontent:
  3327. description: 链接(地址或商品ID)
  3328. type: string
  3329. urltype:
  3330. description: 链接类型 - 1:直接地址 2:商品ID
  3331. type: integer
  3332. required:
  3333. - adsort
  3334. - adtype
  3335. type: object
  3336. models.Division:
  3337. properties:
  3338. autoid:
  3339. description: 自增ID
  3340. type: integer
  3341. divisioncode:
  3342. description: 行政代码
  3343. type: string
  3344. divisionlevel:
  3345. description: 行政级别
  3346. type: string
  3347. divisionname:
  3348. description: 行政名称
  3349. type: string
  3350. modifierid:
  3351. description: 修改人
  3352. type: integer
  3353. modifytime:
  3354. description: 修改时间
  3355. type: string
  3356. parentcode:
  3357. description: 上级行政代码
  3358. type: string
  3359. pathname:
  3360. description: 路径名称
  3361. type: string
  3362. postcode:
  3363. description: 邮政编码
  3364. type: string
  3365. separablename:
  3366. description: 可拆分的全称
  3367. type: string
  3368. shortcode:
  3369. description: 地区简码
  3370. type: string
  3371. required:
  3372. - autoid
  3373. - divisioncode
  3374. type: object
  3375. models.Enumdicitem:
  3376. properties:
  3377. autoid:
  3378. description: 自增ID
  3379. type: integer
  3380. bankmappedvalue:
  3381. description: 银行服务对应值
  3382. type: string
  3383. enumdiccode:
  3384. description: 所属枚举代码
  3385. type: string
  3386. enumdicid:
  3387. description: 所属枚举ID
  3388. type: integer
  3389. enumdicname:
  3390. description: 枚举项名称
  3391. type: string
  3392. enumitemname:
  3393. description: 枚举项值
  3394. type: integer
  3395. enumitemstatus:
  3396. description: 枚举项状态 - 1.启用 2.不启用
  3397. type: integer
  3398. enumitemvalue:
  3399. description: 通用值 - [币种通用简写]
  3400. type: string
  3401. param1:
  3402. description: 参数1[币种:币种小数位]
  3403. type: string
  3404. param2:
  3405. description: 参数1[币种:币种显示单位]
  3406. type: string
  3407. remark:
  3408. description: 备注
  3409. type: string
  3410. required:
  3411. - autoid
  3412. - enumdiccode
  3413. - enumdicid
  3414. - enumitemname
  3415. type: object
  3416. models.ErmcpMiddleGoodsModel:
  3417. properties:
  3418. areauserid:
  3419. description: 机构用户ID
  3420. type: integer
  3421. enumdicname:
  3422. description: 单位名称
  3423. type: string
  3424. evaluateratio:
  3425. description: 估价系数
  3426. type: number
  3427. goodsgroupid:
  3428. description: 关联期货品种ID
  3429. type: integer
  3430. isvalid:
  3431. description: 状态 0-无效(停用) 1-有效(正常)
  3432. type: integer
  3433. middlegoodscode:
  3434. description: 套保品种代码
  3435. type: string
  3436. middlegoodsid:
  3437. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3438. type: integer
  3439. middlegoodsname:
  3440. description: 套保品种名称
  3441. type: string
  3442. modifytime:
  3443. description: 修改时间
  3444. type: string
  3445. needhedgeratio:
  3446. description: 套保比率
  3447. type: number
  3448. qtydecimalplace:
  3449. description: 数量小数位
  3450. type: integer
  3451. relatedgoodsid:
  3452. description: 关联交易商品ID
  3453. type: integer
  3454. relatedgoodstype:
  3455. description: 关联商品类型 - 1:期货合约 2:现货品种
  3456. type: integer
  3457. type: object
  3458. models.ErmcpWrstandard:
  3459. properties:
  3460. areauserid:
  3461. description: 所属机构
  3462. type: integer
  3463. createtime:
  3464. description: 创建时间
  3465. type: string
  3466. creatorid:
  3467. description: 创建人
  3468. type: integer
  3469. deliverygoodsid:
  3470. description: 品种ID
  3471. type: integer
  3472. enumdicname:
  3473. description: 单位名称
  3474. type: string
  3475. isvalid:
  3476. description: 是否有效 0-无效(停用) 1-有效(正常)
  3477. type: integer
  3478. minivalue:
  3479. description: 最小变动值
  3480. type: integer
  3481. minivaluedp:
  3482. description: 最小变动值小数位
  3483. type: integer
  3484. realminivalue:
  3485. description: 实际最小变动值
  3486. type: integer
  3487. realminivaluedp:
  3488. description: 实际最小变动值小数位
  3489. type: integer
  3490. remark:
  3491. description: 备注
  3492. type: string
  3493. unitid:
  3494. description: 单位ID
  3495. type: integer
  3496. updatetime:
  3497. description: 更新时间
  3498. type: string
  3499. wrstandardcode:
  3500. description: 现货商品代码
  3501. type: string
  3502. wrstandardid:
  3503. description: 现货商品ID(SEQ_WRSTANDARD)
  3504. type: integer
  3505. wrstandardname:
  3506. description: 现货商品名称
  3507. type: string
  3508. type: object
  3509. models.Goods:
  3510. properties:
  3511. agreeunit:
  3512. description: 合约单位
  3513. type: number
  3514. auditaccountid:
  3515. description: 审核操作员账号
  3516. type: integer
  3517. audittime:
  3518. description: 审核时间
  3519. type: string
  3520. cancelaccountid:
  3521. description: 注销操作员账号
  3522. type: integer
  3523. canceltime:
  3524. description: 注销时间
  3525. type: string
  3526. closepricemode:
  3527. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  3528. type: integer
  3529. closepriceparam:
  3530. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  3531. type: number
  3532. createtime:
  3533. description: 创建时间
  3534. type: string
  3535. creatorid:
  3536. description: 创建人
  3537. type: integer
  3538. currencyid:
  3539. description: 报价货币ID
  3540. type: integer
  3541. cutmode:
  3542. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  3543. type: integer
  3544. decimalplace:
  3545. description: 报价小数位
  3546. type: integer
  3547. delistingdate:
  3548. description: 商品退市时间(状态:退市) -- 已作废
  3549. type: string
  3550. delistingmode:
  3551. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  3552. type: integer
  3553. deliveryflag:
  3554. description: 交割标志 - 0:不可交割 1:可交割
  3555. type: integer
  3556. forceclosemode:
  3557. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  3558. type: integer
  3559. forceclosevalue:
  3560. description: 定期强平参数 [收益权]
  3561. type: integer
  3562. goodscode:
  3563. description: 商品代码(内部)
  3564. type: string
  3565. goodscurrencyid:
  3566. description: 合约货币ID
  3567. type: integer
  3568. goodsgroupid:
  3569. description: 所属商品组ID
  3570. type: integer
  3571. goodsid:
  3572. description: 商品ID(自增ID SEQ_GOODS)
  3573. type: integer
  3574. goodsname:
  3575. description: 商品名称
  3576. type: string
  3577. goodsquotetype:
  3578. description: '合约报价类型: 1-直接报价 2-间接报价'
  3579. type: integer
  3580. goodsstatus:
  3581. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  3582. type: integer
  3583. goodstradetype:
  3584. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  3585. type: integer
  3586. goodunitid:
  3587. description: 报价单位ID
  3588. type: integer
  3589. hasquoter:
  3590. description: 是否有报价商 - 0:无报价商 1:有报价商
  3591. type: integer
  3592. hqprotecttime:
  3593. description: 行情保护时间(秒)
  3594. type: integer
  3595. innerdealmode:
  3596. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  3597. type: integer
  3598. isbuylimited:
  3599. description: 是否限制建仓量 - 0:不限制 1:限制
  3600. type: integer
  3601. lasttradedate:
  3602. description: 最后交易日期(状态:待退市)
  3603. type: string
  3604. listingdate:
  3605. description: 交易开始日期
  3606. type: string
  3607. marketid:
  3608. description: 所属市场ID
  3609. type: integer
  3610. modifierid:
  3611. description: 修改人
  3612. type: integer
  3613. modifystatus:
  3614. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  3615. type: integer
  3616. modifytime:
  3617. description: 修改时间
  3618. type: string
  3619. outerdealmode:
  3620. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  3621. type: integer
  3622. outgoodscode:
  3623. description: 商品代码(外部)
  3624. type: string
  3625. qtydecimalplace:
  3626. description: 成交量小数位
  3627. type: integer
  3628. quotegear:
  3629. description: 行情档位(1-10)
  3630. type: integer
  3631. quoteminunit:
  3632. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3633. type: integer
  3634. quoteshowtype:
  3635. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  3636. type: integer
  3637. quoteshowtypeinterval:
  3638. description: 行情报价间隔时间(秒)(成交价时为0)
  3639. type: integer
  3640. remark:
  3641. description: 备注
  3642. type: string
  3643. required:
  3644. - goodscode
  3645. - goodsid
  3646. - goodsname
  3647. - marketid
  3648. type: object
  3649. models.GoodsBrand:
  3650. properties:
  3651. brandid:
  3652. description: 品牌ID
  3653. type: integer
  3654. brandname:
  3655. description: 品牌名称
  3656. type: string
  3657. isvalid:
  3658. description: 是否有效 - 0:无效 1:有效
  3659. type: integer
  3660. type: object
  3661. models.GoodsGroupConvert:
  3662. properties:
  3663. convertratio:
  3664. description: 折算系数
  3665. type: number
  3666. dstgoodsgroupid:
  3667. description: 目标期货品种ID
  3668. type: integer
  3669. goodsgroupname:
  3670. description: 期货品种名称
  3671. type: string
  3672. outergroupcode:
  3673. description: 期货品种代码
  3674. type: string
  3675. srcgoodsgroupid:
  3676. description: 源期货品种ID
  3677. type: integer
  3678. type: object
  3679. models.GoodsIDAndName:
  3680. properties:
  3681. goodscode:
  3682. description: 商品代码(内部)
  3683. type: string
  3684. goodsid:
  3685. description: 商品ID(自增ID SEQ_GOODS)
  3686. type: integer
  3687. goodsname:
  3688. description: 商品名称
  3689. type: string
  3690. marketid:
  3691. description: 所属市场ID
  3692. type: integer
  3693. required:
  3694. - goodscode
  3695. - goodsid
  3696. - goodsname
  3697. - marketid
  3698. type: object
  3699. models.GoodsTypeModel:
  3700. properties:
  3701. modelid:
  3702. description: 型号ID
  3703. type: integer
  3704. modelname:
  3705. description: 型号名称
  3706. type: string
  3707. updatetime:
  3708. description: 更新时间
  3709. type: string
  3710. type: object
  3711. models.HsbyBuyMyPayOrder:
  3712. properties:
  3713. agreeunit:
  3714. description: 合约单位
  3715. type: number
  3716. buyaccountid:
  3717. description: 买方账号ID[报价币种]
  3718. type: integer
  3719. buyorderid:
  3720. description: 买方委托单号
  3721. type: string
  3722. createtime:
  3723. description: 创建时间
  3724. type: string
  3725. currencysign:
  3726. description: 货币符号
  3727. type: string
  3728. decimalplace:
  3729. description: 报价小数位
  3730. type: integer
  3731. goodscode:
  3732. description: 商品代码(内部)
  3733. type: string
  3734. goodsid:
  3735. description: 商品ID
  3736. type: integer
  3737. goodsname:
  3738. description: 商品名称
  3739. type: string
  3740. marketid:
  3741. description: 市场ID
  3742. type: integer
  3743. offamount:
  3744. description: 优惠金额
  3745. type: number
  3746. payamount:
  3747. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  3748. type: number
  3749. payflag:
  3750. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  3751. type: integer
  3752. paylimitedtime:
  3753. description: 支付期限
  3754. type: string
  3755. paytime:
  3756. description: 付款时间
  3757. type: string
  3758. picurls1:
  3759. description: 预售商品介绍图片[多张用逗号分隔]
  3760. type: string
  3761. picurls2:
  3762. description: 挂牌商品介绍图片[多张用逗号分隔]
  3763. type: string
  3764. sellaccountid:
  3765. description: 卖方账号ID[报价币种]
  3766. type: integer
  3767. sellorderid:
  3768. description: 卖方委托单号
  3769. type: string
  3770. tradeamount:
  3771. description: 成交金额
  3772. type: number
  3773. tradecharge:
  3774. description: 成交手续费(买方)
  3775. type: number
  3776. tradedate:
  3777. description: 交易日(yyyyMMdd)
  3778. type: string
  3779. tradeid:
  3780. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3781. type: string
  3782. trademode:
  3783. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3784. 21:竞拍-大宗式 22:受托竞价
  3785. type: integer
  3786. tradeprice:
  3787. description: 成交价格
  3788. type: number
  3789. tradeqty:
  3790. description: 成交数量
  3791. type: integer
  3792. vendorname1:
  3793. description: 预售商品供应商名称
  3794. type: string
  3795. vendorname2:
  3796. description: 挂牌商品供应商名称
  3797. type: string
  3798. required:
  3799. - goodscode
  3800. - goodsname
  3801. - tradeid
  3802. - trademode
  3803. type: object
  3804. models.HsbyBuyMyTradeDetail:
  3805. properties:
  3806. accountid:
  3807. description: 账户ID[报价币种]
  3808. type: integer
  3809. agreeunit:
  3810. description: 合约单位
  3811. type: number
  3812. amount:
  3813. description: 金额 = 价格 * 数量 * 合约单位
  3814. type: number
  3815. buyorsell:
  3816. description: 买卖 - 0:买 1:卖
  3817. type: integer
  3818. currencysign:
  3819. description: 货币符号
  3820. type: string
  3821. decimalplace:
  3822. description: 报价小数位
  3823. type: integer
  3824. goodscode:
  3825. description: 商品代码(内部)
  3826. type: string
  3827. goodsid:
  3828. description: 商品ID
  3829. type: integer
  3830. goodsname:
  3831. description: 商品名称
  3832. type: string
  3833. marketid:
  3834. description: 市场ID
  3835. type: integer
  3836. orderid:
  3837. description: 单号(成交单号)
  3838. type: string
  3839. picurls1:
  3840. description: 预售商品介绍图片[多张用逗号分隔]
  3841. type: string
  3842. picurls2:
  3843. description: 挂牌商品介绍图片[多张用逗号分隔]
  3844. type: string
  3845. price:
  3846. description: 价格
  3847. type: number
  3848. qty:
  3849. description: 数量
  3850. type: integer
  3851. time:
  3852. description: 时间
  3853. type: string
  3854. trademode:
  3855. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3856. 21:竞拍-大宗式 22:受托竞价
  3857. type: integer
  3858. vendorname1:
  3859. description: 预售商品供应商名称
  3860. type: string
  3861. vendorname2:
  3862. description: 挂牌商品供应商名称
  3863. type: string
  3864. required:
  3865. - accountid
  3866. - buyorsell
  3867. - goodscode
  3868. - goodsid
  3869. - goodsname
  3870. - marketid
  3871. - orderid
  3872. - qty
  3873. - time
  3874. - trademode
  3875. type: object
  3876. models.HsbyGoodsOrderDetail:
  3877. properties:
  3878. buyorsell:
  3879. description: 买卖 - 0:买 1:卖
  3880. type: integer
  3881. currencysign:
  3882. description: 货币符号
  3883. type: string
  3884. customername:
  3885. description: 客户名称(企业名称),已脱敏
  3886. type: string
  3887. enableqty:
  3888. description: 可用数量
  3889. type: integer
  3890. goodunit:
  3891. description: 报价单位
  3892. type: string
  3893. orderid:
  3894. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3895. type: string
  3896. orderprice:
  3897. description: 委托价格
  3898. type: number
  3899. ordertime:
  3900. description: 委托时间
  3901. type: string
  3902. required:
  3903. - buyorsell
  3904. - orderid
  3905. - ordertime
  3906. type: object
  3907. models.HsbyListingGoodsDetail:
  3908. properties:
  3909. agreeunit:
  3910. description: 合约单位
  3911. type: number
  3912. buymaxqty:
  3913. description: 购买上限 [71] - 0为不限
  3914. type: integer
  3915. currency:
  3916. description: 货币
  3917. type: string
  3918. currencysign:
  3919. description: 货币符号
  3920. type: string
  3921. decimalplace:
  3922. description: 报价小数位
  3923. type: integer
  3924. desccityid:
  3925. description: 目的地(市)ID
  3926. type: integer
  3927. descprovinceid:
  3928. description: 目的地(省)ID
  3929. type: integer
  3930. goodscode:
  3931. description: 商品代码(内部)
  3932. type: string
  3933. goodsdesc:
  3934. description: 商品详情
  3935. type: string
  3936. goodsid:
  3937. description: 商品ID(自增ID SEQ_GOODS)
  3938. type: integer
  3939. goodsname:
  3940. description: 商品名称
  3941. type: string
  3942. goodsprice:
  3943. description: 商品价格
  3944. type: number
  3945. hotindex:
  3946. description: 景点热度
  3947. type: integer
  3948. last:
  3949. description: 现价
  3950. type: number
  3951. limitdown:
  3952. description: 跌停价
  3953. type: number
  3954. limitup:
  3955. description: 涨停价
  3956. type: number
  3957. lotsize:
  3958. description: 手数最小变动单位
  3959. type: integer
  3960. marketid:
  3961. description: 所属市场ID
  3962. type: integer
  3963. picurls:
  3964. description: 介绍图片[多张用逗号分隔]
  3965. type: string
  3966. quoteminunit:
  3967. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3968. type: integer
  3969. stepvalue:
  3970. description: 价格最小变动单位
  3971. type: number
  3972. trademode:
  3973. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3974. 21:竞拍-大宗式 22:受托竞价
  3975. type: integer
  3976. vendorattr:
  3977. description: 供应商附件(多张,逗号分隔)
  3978. type: string
  3979. vendorname:
  3980. description: 供应商名称
  3981. type: string
  3982. vendorphone:
  3983. description: 供应商客服电话
  3984. type: string
  3985. videourls:
  3986. description: 介绍视频[多张用逗号分隔]
  3987. type: string
  3988. required:
  3989. - goodscode
  3990. - goodsid
  3991. - goodsname
  3992. - marketid
  3993. - trademode
  3994. type: object
  3995. models.HsbyMarketGoods:
  3996. properties:
  3997. accountid:
  3998. description: 账户ID[报价币种]
  3999. type: integer
  4000. agreeunit:
  4001. description: 合约单位
  4002. type: number
  4003. buyorsell:
  4004. description: 买卖 - 0:买 1:卖
  4005. type: integer
  4006. categoryid:
  4007. description: 类别ID(WRCATEGORY)
  4008. type: integer
  4009. currency:
  4010. description: 货币
  4011. type: string
  4012. currencysign:
  4013. description: 货币符号
  4014. type: string
  4015. customername:
  4016. description: 卖家名称
  4017. type: string
  4018. decimalplace:
  4019. description: 报价小数位
  4020. type: integer
  4021. goodscode:
  4022. description: 商品代码(内部)
  4023. type: string
  4024. goodsid:
  4025. description: 商品ID
  4026. type: integer
  4027. goodsname:
  4028. description: 商品名称
  4029. type: string
  4030. goodsprice:
  4031. description: 商品价格
  4032. type: number
  4033. hascoupon:
  4034. description: 是否可用优惠卷
  4035. type: boolean
  4036. hotindex:
  4037. description: 景点热度
  4038. type: integer
  4039. marketid:
  4040. description: 市场ID
  4041. type: integer
  4042. orderid:
  4043. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4044. type: string
  4045. orderprice:
  4046. description: 委托价格
  4047. type: number
  4048. orderstatus:
  4049. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4050. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4051. 16:成交失败违约(荷兰式竞拍专用)
  4052. type: integer
  4053. picurls:
  4054. description: 介绍图片[多张用逗号分隔]
  4055. type: string
  4056. quoteminunit:
  4057. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4058. type: integer
  4059. sellUserID:
  4060. description: 卖方UserID
  4061. type: integer
  4062. trademode:
  4063. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4064. 21:竞拍-大宗式 22:受托竞价
  4065. type: integer
  4066. videourls:
  4067. description: 介绍视频[多张用逗号分隔]
  4068. type: string
  4069. required:
  4070. - accountid
  4071. - buyorsell
  4072. - goodscode
  4073. - goodsid
  4074. - goodsname
  4075. - marketid
  4076. - orderid
  4077. - trademode
  4078. type: object
  4079. models.HsbyMarketGoodsDetail:
  4080. properties:
  4081. accountid:
  4082. description: 账户ID[报价币种]
  4083. type: integer
  4084. agreeunit:
  4085. description: 合约单位
  4086. type: number
  4087. buymaxqty:
  4088. description: 购买上限 [71] - 0为不限
  4089. type: integer
  4090. buyorsell:
  4091. description: 买卖 - 0:买 1:卖
  4092. type: integer
  4093. cancelqty:
  4094. description: 撤单数量
  4095. type: integer
  4096. categoryid:
  4097. description: 类别ID(WRCATEGORY)
  4098. type: integer
  4099. currency:
  4100. description: 货币
  4101. type: string
  4102. currencysign:
  4103. description: 货币符号
  4104. type: string
  4105. customername:
  4106. description: 卖家名称
  4107. type: string
  4108. decimalplace:
  4109. description: 报价小数位
  4110. type: integer
  4111. goodscode:
  4112. description: 商品代码(内部)
  4113. type: string
  4114. goodsdesc:
  4115. description: 商品详情
  4116. type: string
  4117. goodsid:
  4118. description: 商品ID
  4119. type: integer
  4120. goodsname:
  4121. description: 商品名称
  4122. type: string
  4123. goodsprice:
  4124. description: 商品价格
  4125. type: number
  4126. hotindex:
  4127. description: 景点热度
  4128. type: integer
  4129. lotsize:
  4130. description: 手数最小变动单位
  4131. type: integer
  4132. marketid:
  4133. description: 市场ID
  4134. type: integer
  4135. orderid:
  4136. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4137. type: string
  4138. orderprice:
  4139. description: 委托价格
  4140. type: number
  4141. orderqty:
  4142. description: 委托数量
  4143. type: integer
  4144. orderstatus:
  4145. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4146. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4147. 16:成交失败违约(荷兰式竞拍专用)
  4148. type: integer
  4149. picurls:
  4150. description: 介绍图片[多张用逗号分隔]
  4151. type: string
  4152. quoteminunit:
  4153. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4154. type: integer
  4155. sellUserID:
  4156. description: 卖方UserID
  4157. type: integer
  4158. trademode:
  4159. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4160. 21:竞拍-大宗式 22:受托竞价
  4161. type: integer
  4162. tradeqty:
  4163. description: 成交数量
  4164. type: integer
  4165. vendorattr:
  4166. description: 供应商附件(多张,逗号分隔)
  4167. type: string
  4168. vendorname:
  4169. description: 供应商名称
  4170. type: string
  4171. vendorphone:
  4172. description: 供应商客服电话
  4173. type: string
  4174. videourls:
  4175. description: 介绍视频[多张用逗号分隔]
  4176. type: string
  4177. required:
  4178. - accountid
  4179. - buyorsell
  4180. - goodscode
  4181. - goodsid
  4182. - goodsname
  4183. - marketid
  4184. - orderid
  4185. - orderqty
  4186. - trademode
  4187. type: object
  4188. models.HsbyMarketInfo:
  4189. properties:
  4190. marketid:
  4191. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  4192. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  4193. type: integer
  4194. marketname:
  4195. description: 市场名称
  4196. type: string
  4197. marketstatus:
  4198. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  4199. type: integer
  4200. trademode:
  4201. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4202. 21:竞拍-大宗式 22:受托竞价
  4203. type: integer
  4204. required:
  4205. - marketid
  4206. - marketstatus
  4207. - trademode
  4208. type: object
  4209. models.HsbyMyGoods:
  4210. properties:
  4211. accountid:
  4212. description: 账号Id
  4213. type: integer
  4214. agreeunit:
  4215. description: 合约单位
  4216. type: number
  4217. buyaverageprice:
  4218. description: 持仓均价
  4219. type: number
  4220. buycurholderamount:
  4221. description: 买当前持仓总金额[商品币种]
  4222. type: number
  4223. buycurpositionqty:
  4224. description: 买当前持仓总数量
  4225. type: integer
  4226. buymaxqty:
  4227. description: 购买上限 [71] - 0为不限
  4228. type: integer
  4229. currencysign:
  4230. description: 货币符号
  4231. type: string
  4232. decimalplace:
  4233. description: 报价小数位
  4234. type: integer
  4235. enableqty:
  4236. description: 可用数量
  4237. type: integer
  4238. goodscode:
  4239. description: 商品代码(内部)
  4240. type: string
  4241. goodsid:
  4242. description: 商品Id
  4243. type: integer
  4244. goodsname:
  4245. description: 商品名称
  4246. type: string
  4247. goodsprice:
  4248. description: 商品价格
  4249. type: number
  4250. goodsstatus:
  4251. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  4252. type: integer
  4253. last:
  4254. description: 现价(仅使用于挂牌点选)
  4255. type: number
  4256. limitdown:
  4257. description: 跌停价(仅使用于挂牌点选)
  4258. type: number
  4259. limitup:
  4260. description: 涨停价(仅使用于挂牌点选)
  4261. type: number
  4262. lotsize:
  4263. description: 手数最小变动单位
  4264. type: integer
  4265. marketid:
  4266. description: 所属市场ID
  4267. type: integer
  4268. picurls:
  4269. description: 介绍图片[多张用逗号分隔]
  4270. type: string
  4271. quoteminunit:
  4272. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4273. type: integer
  4274. stepvalue:
  4275. description: 价格最小变动单位
  4276. type: number
  4277. trademode:
  4278. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4279. 21:竞拍-大宗式 22:受托竞价
  4280. type: integer
  4281. required:
  4282. - accountid
  4283. - goodscode
  4284. - goodsid
  4285. - goodsname
  4286. - marketid
  4287. - trademode
  4288. type: object
  4289. models.HsbyMyPackage:
  4290. properties:
  4291. accountid:
  4292. description: 账户ID
  4293. type: integer
  4294. address:
  4295. description: 提货人详细地址
  4296. type: string
  4297. agreeunit:
  4298. description: 合约单位
  4299. type: number
  4300. amount:
  4301. description: 提货金额
  4302. type: number
  4303. auditer:
  4304. description: 审核人
  4305. type: integer
  4306. audittime:
  4307. description: 审核时间
  4308. type: string
  4309. averageprice:
  4310. description: 均价
  4311. type: number
  4312. cardnum:
  4313. description: 提货人证件号码
  4314. type: string
  4315. cardtypeid:
  4316. description: 提货人证件类型
  4317. type: integer
  4318. checkremark:
  4319. description: 审核备注
  4320. type: string
  4321. currencysign:
  4322. description: 货币符号
  4323. type: string
  4324. decimalplace:
  4325. description: 报价小数位
  4326. type: integer
  4327. goodscode:
  4328. description: 商品代码(内部)
  4329. type: string
  4330. goodsid:
  4331. description: 商品ID
  4332. type: integer
  4333. goodsname:
  4334. description: 商品名称
  4335. type: string
  4336. handlestatus:
  4337. description: 处理状态
  4338. type: integer
  4339. marketid:
  4340. description: 市场ID
  4341. type: integer
  4342. phonenum:
  4343. description: 提货人联系方式
  4344. type: string
  4345. picurls:
  4346. description: 介绍图片[多张用逗号分隔]
  4347. type: string
  4348. qty:
  4349. description: 提货数量
  4350. type: number
  4351. recivername:
  4352. description: 提货人姓名
  4353. type: string
  4354. reqtime:
  4355. description: 更新时间
  4356. type: string
  4357. takemode:
  4358. description: 提货方式 - 2:自提 3:配送
  4359. type: integer
  4360. takeorderid:
  4361. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  4362. type: string
  4363. takeorderstatus:
  4364. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4365. type: integer
  4366. takeremark:
  4367. description: 提货备注
  4368. type: string
  4369. tradedate:
  4370. description: 交易日(yyyyMMdd)
  4371. type: string
  4372. trademode:
  4373. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4374. 21:竞拍-大宗式 22:受托竞价
  4375. type: integer
  4376. userid:
  4377. description: 用户ID
  4378. type: integer
  4379. vendorname:
  4380. description: 供应商名称
  4381. type: string
  4382. required:
  4383. - goodscode
  4384. - goodsname
  4385. - takeorderid
  4386. - trademode
  4387. type: object
  4388. models.HsbyPreGoods:
  4389. properties:
  4390. agreeunit:
  4391. description: 合约单位
  4392. type: number
  4393. currency:
  4394. description: 货币
  4395. type: string
  4396. currencysign:
  4397. description: 货币符号
  4398. type: string
  4399. decimalplace:
  4400. description: 报价小数位
  4401. type: integer
  4402. enableqty:
  4403. description: 剩余数量
  4404. type: integer
  4405. goodscode:
  4406. description: 商品代码(内部)
  4407. type: string
  4408. goodsid:
  4409. description: 商品ID(自增ID SEQ_GOODS)
  4410. type: integer
  4411. goodsname:
  4412. description: 商品名称
  4413. type: string
  4414. goodsstatus:
  4415. description: 商品状态- 2:未上市 3:上市
  4416. type: integer
  4417. lasttradedate:
  4418. description: 最后交易日期(状态:待退市)
  4419. type: string
  4420. listingdate:
  4421. description: 交易开始日期
  4422. type: string
  4423. marketid:
  4424. description: 所属市场ID
  4425. type: integer
  4426. picurls:
  4427. description: 介绍图片[多张用逗号分隔]
  4428. type: string
  4429. presaledqty:
  4430. description: 已预售量(预售结束时更新)
  4431. type: integer
  4432. presaleqty:
  4433. description: 预售数量
  4434. type: integer
  4435. quoteminunit:
  4436. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4437. type: integer
  4438. refprice:
  4439. description: 参考价格[一口价]
  4440. type: number
  4441. relatedgoodsid:
  4442. description: 关联交易合约ID
  4443. type: integer
  4444. trademode:
  4445. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4446. 21:竞拍-大宗式 22:受托竞价
  4447. type: integer
  4448. videourls:
  4449. description: 介绍视频[多张用逗号分隔]
  4450. type: string
  4451. required:
  4452. - goodscode
  4453. - goodsid
  4454. - goodsname
  4455. - marketid
  4456. - trademode
  4457. type: object
  4458. models.HsbyPreGoodsDetail:
  4459. properties:
  4460. agreeunit:
  4461. description: 合约单位
  4462. type: number
  4463. buymaxqty:
  4464. description: 购买上限 [71] - 0为不限
  4465. type: integer
  4466. currency:
  4467. description: 货币
  4468. type: string
  4469. currencysign:
  4470. description: 货币符号
  4471. type: string
  4472. customername:
  4473. description: 发行单位
  4474. type: string
  4475. decimalplace:
  4476. description: 报价小数位
  4477. type: integer
  4478. desccityid:
  4479. description: 目的地(市)ID
  4480. type: integer
  4481. descprovinceid:
  4482. description: 目的地(省)ID
  4483. type: integer
  4484. enableqty:
  4485. description: 剩余数量
  4486. type: integer
  4487. goodscode:
  4488. description: 商品代码(内部)
  4489. type: string
  4490. goodsdesc:
  4491. description: 商品详情
  4492. type: string
  4493. goodsid:
  4494. description: 商品ID(自增ID SEQ_GOODS)
  4495. type: integer
  4496. goodsname:
  4497. description: 商品名称
  4498. type: string
  4499. goodsstatus:
  4500. description: 商品状态- 2:未上市 3:上市
  4501. type: integer
  4502. goodunit:
  4503. description: 报价单位
  4504. type: string
  4505. lasttradedate:
  4506. description: 最后交易日期(状态:待退市)
  4507. type: string
  4508. listingdate:
  4509. description: 交易开始日期
  4510. type: string
  4511. lotsize:
  4512. description: 手数最小变动单位
  4513. type: integer
  4514. marketid:
  4515. description: 所属市场ID
  4516. type: integer
  4517. picurls:
  4518. description: 介绍图片[多张用逗号分隔]
  4519. type: string
  4520. presaledqty:
  4521. description: 已预售量(预售结束时更新)
  4522. type: integer
  4523. presaleqty:
  4524. description: 预售数量
  4525. type: integer
  4526. quoteminunit:
  4527. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4528. type: integer
  4529. refprice:
  4530. description: 参考价格[一口价]
  4531. type: number
  4532. relatedgoodsid:
  4533. description: 关联交易合约ID
  4534. type: integer
  4535. stepvalue:
  4536. description: 价格最小变动单位
  4537. type: number
  4538. trademode:
  4539. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4540. 21:竞拍-大宗式 22:受托竞价
  4541. type: integer
  4542. vendorattr:
  4543. description: 供应商附件(多张,逗号分隔)
  4544. type: string
  4545. vendorname:
  4546. description: 供应商名称
  4547. type: string
  4548. vendorphone:
  4549. description: 供应商客服电话
  4550. type: string
  4551. videourls:
  4552. description: 介绍视频[多张用逗号分隔]
  4553. type: string
  4554. required:
  4555. - goodscode
  4556. - goodsid
  4557. - goodsname
  4558. - marketid
  4559. - trademode
  4560. type: object
  4561. models.HsbySellCollectionOrder:
  4562. properties:
  4563. agreeunit:
  4564. description: 合约单位
  4565. type: number
  4566. buyaccountid:
  4567. description: 买方账号ID[报价币种]
  4568. type: integer
  4569. buyorderid:
  4570. description: 买方委托单号
  4571. type: string
  4572. createtime:
  4573. description: 创建时间
  4574. type: string
  4575. currencysign:
  4576. description: 货币符号
  4577. type: string
  4578. decimalplace:
  4579. description: 报价小数位
  4580. type: integer
  4581. goodscode:
  4582. description: 商品代码(内部)
  4583. type: string
  4584. goodsid:
  4585. description: 商品ID
  4586. type: integer
  4587. goodsname:
  4588. description: 商品名称
  4589. type: string
  4590. marketid:
  4591. description: 市场ID
  4592. type: integer
  4593. offamount:
  4594. description: 优惠金额
  4595. type: number
  4596. payamount:
  4597. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  4598. type: number
  4599. payflag:
  4600. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  4601. type: integer
  4602. paylimitedtime:
  4603. description: 支付期限
  4604. type: string
  4605. paytime:
  4606. description: 付款时间
  4607. type: string
  4608. picurls:
  4609. description: 商品介绍图片[多张用逗号分隔]
  4610. type: string
  4611. sellaccountid:
  4612. description: 卖方账号ID[报价币种]
  4613. type: integer
  4614. sellorderid:
  4615. description: 卖方委托单号
  4616. type: string
  4617. tradeamount:
  4618. description: 成交金额
  4619. type: number
  4620. tradecharge:
  4621. description: 成交手续费(买方)
  4622. type: number
  4623. tradedate:
  4624. description: 交易日(yyyyMMdd)
  4625. type: string
  4626. tradeid:
  4627. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4628. type: string
  4629. trademode:
  4630. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4631. 21:竞拍-大宗式 22:受托竞价
  4632. type: integer
  4633. tradeprice:
  4634. description: 成交价格
  4635. type: number
  4636. tradeqty:
  4637. description: 成交数量
  4638. type: integer
  4639. required:
  4640. - goodscode
  4641. - goodsname
  4642. - tradeid
  4643. - trademode
  4644. type: object
  4645. models.HsbySellMyDetail:
  4646. properties:
  4647. accountid:
  4648. description: 账户ID[报价币种]
  4649. type: integer
  4650. agreeunit:
  4651. description: 合约单位
  4652. type: number
  4653. buyorsell:
  4654. description: 买卖 - 0:买 1:卖
  4655. type: integer
  4656. currencysign:
  4657. description: 货币符号
  4658. type: string
  4659. decimalplace:
  4660. description: 报价小数位
  4661. type: integer
  4662. goodscode:
  4663. description: 商品代码(内部)
  4664. type: string
  4665. goodsid:
  4666. description: 商品ID
  4667. type: integer
  4668. goodsname:
  4669. description: 商品名称
  4670. type: string
  4671. marketid:
  4672. description: 市场ID
  4673. type: integer
  4674. orderid:
  4675. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  4676. type: string
  4677. ordertype:
  4678. description: 单据类型:0 - 发布中, 1 - 已完成
  4679. type: integer
  4680. picurls:
  4681. description: 介绍图片[多张用逗号分隔]
  4682. type: string
  4683. price:
  4684. description: 价格
  4685. type: number
  4686. qty:
  4687. description: 数量
  4688. type: integer
  4689. time:
  4690. description: 时间
  4691. type: string
  4692. trademode:
  4693. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4694. 21:竞拍-大宗式 22:受托竞价
  4695. type: integer
  4696. vendorname:
  4697. description: 供应商名称
  4698. type: string
  4699. required:
  4700. - accountid
  4701. - buyorsell
  4702. - goodscode
  4703. - goodsid
  4704. - goodsname
  4705. - marketid
  4706. - orderid
  4707. - time
  4708. - trademode
  4709. type: object
  4710. models.HsbyTopGoods:
  4711. properties:
  4712. agreeunit:
  4713. description: 合约单位
  4714. type: number
  4715. currency:
  4716. description: 货币
  4717. type: string
  4718. currencysign:
  4719. description: 货币符号
  4720. type: string
  4721. decimalplace:
  4722. description: 报价小数位
  4723. type: integer
  4724. goodscode:
  4725. description: 商品代码(内部)
  4726. type: string
  4727. goodsid:
  4728. description: 商品ID(自增ID SEQ_GOODS)
  4729. type: integer
  4730. goodsname:
  4731. description: 商品名称
  4732. type: string
  4733. hotindex:
  4734. description: 景点热度
  4735. type: integer
  4736. last:
  4737. description: 现价
  4738. type: number
  4739. marketid:
  4740. description: 所属市场ID
  4741. type: integer
  4742. picurls:
  4743. description: 介绍图片[多张用逗号分隔]
  4744. type: string
  4745. quoteminunit:
  4746. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4747. type: integer
  4748. trademode:
  4749. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4750. 21:竞拍-大宗式 22:受托竞价
  4751. type: integer
  4752. videourls:
  4753. description: 介绍视频[多张用逗号分隔]
  4754. type: string
  4755. required:
  4756. - goodscode
  4757. - goodsid
  4758. - goodsname
  4759. - marketid
  4760. - trademode
  4761. type: object
  4762. models.HybsMyBuyOrderDetail:
  4763. properties:
  4764. accountid:
  4765. description: 账户ID[报价币种]
  4766. type: integer
  4767. agreeunit:
  4768. description: 合约单位
  4769. type: number
  4770. buyorsell:
  4771. description: 买卖 - 0:买 1:卖
  4772. type: integer
  4773. cancelqty:
  4774. description: 撤单数量
  4775. type: integer
  4776. currencysign:
  4777. description: 货币符号
  4778. type: string
  4779. decimalplace:
  4780. description: 报价小数位
  4781. type: integer
  4782. goodscode:
  4783. description: 商品代码(内部)
  4784. type: string
  4785. goodsid:
  4786. description: 商品ID
  4787. type: integer
  4788. goodsname:
  4789. description: 商品名称
  4790. type: string
  4791. listingselecttype:
  4792. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4793. type: integer
  4794. marketid:
  4795. description: 市场ID
  4796. type: integer
  4797. mybuystatus:
  4798. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  4799. type: integer
  4800. orderamount:
  4801. description: 委托金额
  4802. type: number
  4803. orderid:
  4804. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4805. type: string
  4806. orderprice:
  4807. description: 委托价格
  4808. type: number
  4809. orderqty:
  4810. description: 委托数量
  4811. type: integer
  4812. orderstatus:
  4813. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4814. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4815. 16:成交失败违约(荷兰式竞拍专用)
  4816. type: integer
  4817. ordertime:
  4818. description: 委托时间
  4819. type: string
  4820. picurls1:
  4821. description: 预售商品介绍图片[多张用逗号分隔]
  4822. type: string
  4823. picurls2:
  4824. description: 挂牌商品介绍图片[多张用逗号分隔]
  4825. type: string
  4826. trademode:
  4827. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4828. 21:竞拍-大宗式 22:受托竞价
  4829. type: integer
  4830. tradeqty:
  4831. description: 成交数量
  4832. type: integer
  4833. vendorname1:
  4834. description: 预售商品供应商名称
  4835. type: string
  4836. vendorname2:
  4837. description: 挂牌商品供应商名称
  4838. type: string
  4839. required:
  4840. - accountid
  4841. - buyorsell
  4842. - goodscode
  4843. - goodsid
  4844. - goodsname
  4845. - marketid
  4846. - orderid
  4847. - orderqty
  4848. - ordertime
  4849. - trademode
  4850. type: object
  4851. models.Market:
  4852. properties:
  4853. auctionwrtype:
  4854. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  4855. type: integer
  4856. canacceptquote:
  4857. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  4858. type: integer
  4859. cangoodsexercise:
  4860. description: '[期权]是否可现货行权- 0:否 1:是'
  4861. type: integer
  4862. cangoodsexercisetype:
  4863. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  4864. type: integer
  4865. canmanualquotestrike:
  4866. description: 是否可手动报行权价- 0:否 1:是 [期权]
  4867. type: integer
  4868. canmutistage:
  4869. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  4870. type: integer
  4871. canpreexercise:
  4872. description: '[期权]是否可预申报- 0:否 1:是'
  4873. type: integer
  4874. clearinterval:
  4875. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  4876. type: integer
  4877. contracttmp:
  4878. description: 合同模板[荷兰式][竞价式][仓单贸易]
  4879. type: string
  4880. exchareaid:
  4881. description: 所属交易所,可以没有
  4882. type: integer
  4883. goodstype:
  4884. description: 商品类型 - 1:交易商品 2:仓单商品
  4885. type: integer
  4886. hasrebate:
  4887. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  4888. type: integer
  4889. hastradecredit:
  4890. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  4891. type: integer
  4892. haswr:
  4893. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  4894. type: integer
  4895. isdeductmargin:
  4896. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  4897. type: integer
  4898. isrecordsource:
  4899. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  4900. type: integer
  4901. isreleasemargin:
  4902. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  4903. type: integer
  4904. marginformula:
  4905. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  4906. type: integer
  4907. marginformula2:
  4908. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  4909. type: integer
  4910. marketid:
  4911. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  4912. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  4913. type: integer
  4914. marketname:
  4915. description: 市场名称
  4916. type: string
  4917. marketserviceid:
  4918. description: 市场服务ID
  4919. type: integer
  4920. marketstatus:
  4921. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  4922. type: integer
  4923. markettype:
  4924. description: 市场类型- 1:非交易服务 2:交易服务
  4925. type: integer
  4926. matchermode:
  4927. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  4928. type: integer
  4929. openmethod:
  4930. description: 开盘模式 - 0 自动 1手动
  4931. type: integer
  4932. otcuserid:
  4933. description: 场外期权做市商[场外期权]
  4934. type: integer
  4935. outersynctime:
  4936. description: 外部同步时间点(h24:mi:ss)[场外期权]
  4937. type: string
  4938. pendingflag:
  4939. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  4940. type: integer
  4941. pendingtime:
  4942. description: 待开市时间[通道交易-对冲](HH:mm)
  4943. type: string
  4944. performancetempid:
  4945. description: 履约计划模板ID - 作废
  4946. type: integer
  4947. premiumquotemode:
  4948. description: 权利金报价方式 - 1:自动 2:手动
  4949. type: integer
  4950. rebateratio:
  4951. description: 返利比率[竞价式]
  4952. type: number
  4953. reckonorder:
  4954. description: 结算顺序
  4955. type: integer
  4956. reckonpricealgorithm:
  4957. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  4958. 6.卖一价 7.买一卖一均价 8.外部结算价'
  4959. type: integer
  4960. reckonpriceparam:
  4961. description: 结算价参数
  4962. type: integer
  4963. reckontime:
  4964. description: 结算时间[通道交易-对冲](HH:mm)
  4965. type: string
  4966. roleprioritytype:
  4967. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  4968. type: integer
  4969. selllistingauditflag:
  4970. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  4971. type: integer
  4972. trademarkettype:
  4973. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  4974. type: integer
  4975. trademode:
  4976. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4977. 21:竞拍-大宗式 22:受托竞价
  4978. type: integer
  4979. tradeproperty:
  4980. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  4981. 8:场外期权
  4982. type: integer
  4983. tradetype:
  4984. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  4985. type: integer
  4986. required:
  4987. - marketid
  4988. - marketstatus
  4989. - openmethod
  4990. - reckonpricealgorithm
  4991. - trademode
  4992. - tradeproperty
  4993. type: object
  4994. models.Marketrun:
  4995. properties:
  4996. afternexttradedate:
  4997. description: 下下交易日
  4998. type: string
  4999. clearquoteflag:
  5000. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  5001. type: integer
  5002. lastreckondate:
  5003. description: 最新交易日(结算成功)
  5004. type: string
  5005. machinedate:
  5006. description: 机器时间
  5007. type: string
  5008. manualflag:
  5009. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  5010. type: integer
  5011. marketid:
  5012. description: 市场ID
  5013. type: integer
  5014. nexttradedate:
  5015. description: 下一交易日
  5016. type: string
  5017. pretradedate:
  5018. description: 上一交易日
  5019. type: string
  5020. reckonflag:
  5021. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  5022. type: integer
  5023. runstatus:
  5024. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  5025. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  5026. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  5027. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  5028. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  5029. 62.今日免清算
  5030. type: integer
  5031. sectionid:
  5032. description: 时间段号[多时段时用]
  5033. type: integer
  5034. tradedate:
  5035. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  5036. type: string
  5037. tradedate2:
  5038. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  5039. type: string
  5040. updatetime:
  5041. description: 更新时间
  5042. type: string
  5043. required:
  5044. - marketid
  5045. - nexttradedate
  5046. - reckonflag
  5047. - runstatus
  5048. - tradedate
  5049. - tradedate2
  5050. type: object
  5051. models.Messageboard:
  5052. properties:
  5053. createtime:
  5054. description: 创建时间
  5055. type: string
  5056. message:
  5057. description: 留言信息
  5058. type: string
  5059. messageboardid:
  5060. description: 留言簿ID(SEQ_MessageBoard)
  5061. type: integer
  5062. userid:
  5063. description: 用户ID
  5064. type: integer
  5065. required:
  5066. - messageboardid
  5067. type: object
  5068. models.MyCoupon:
  5069. properties:
  5070. accountid:
  5071. description: 资金账户ID
  5072. type: integer
  5073. areauserid:
  5074. description: 所属机构
  5075. type: integer
  5076. conditionvalue:
  5077. description: 条件阈值(可为0)
  5078. type: number
  5079. couponcategroy:
  5080. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  5081. type: integer
  5082. couponname:
  5083. description: 优惠券名称
  5084. type: string
  5085. coupontypeid:
  5086. description: 优惠券类型ID
  5087. type: string
  5088. couponvalue:
  5089. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  5090. type: number
  5091. curfreezeqty:
  5092. description: 期末冻结数量
  5093. type: integer
  5094. curqty:
  5095. description: 期末数量
  5096. type: integer
  5097. isgeneral:
  5098. description: 是否通用券 - 0:否 1:是
  5099. type: integer
  5100. isunusable:
  5101. description: 是否不可用
  5102. type: boolean
  5103. limitedflag:
  5104. description: 是否指定商品 - 0:不限 1:限制
  5105. type: integer
  5106. limitedgoodsids:
  5107. description: 指定商品IDs[逗号分隔,前后加逗号]
  5108. type: string
  5109. orifreezeqty:
  5110. description: 期初冻结数量
  5111. type: integer
  5112. oriqty:
  5113. description: 期初数量
  5114. type: integer
  5115. reasontype:
  5116. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  5117. type: integer
  5118. todaydecrease:
  5119. description: 今日减少
  5120. type: integer
  5121. todayincrease:
  5122. description: 今日增加
  5123. type: integer
  5124. userid:
  5125. description: 用户ID
  5126. type: integer
  5127. userscope:
  5128. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  5129. type: string
  5130. required:
  5131. - accountid
  5132. - coupontypeid
  5133. type: object
  5134. models.MyCouponHold:
  5135. properties:
  5136. accountid:
  5137. description: 资金账户ID
  5138. type: integer
  5139. conditionvalue:
  5140. description: 条件阈值(可为0)
  5141. type: number
  5142. couponcategroy:
  5143. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  5144. type: integer
  5145. couponholdid:
  5146. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  5147. type: string
  5148. couponname:
  5149. description: 优惠券名称
  5150. type: string
  5151. coupontypeid:
  5152. description: 优惠券类型ID - SEQ_COUPONTYPE
  5153. type: string
  5154. couponvalue:
  5155. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  5156. type: number
  5157. createtime:
  5158. description: 创建时间
  5159. type: string
  5160. enddate:
  5161. description: 结束日期
  5162. type: string
  5163. giveapplyid:
  5164. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  5165. type: integer
  5166. holdstatus:
  5167. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  5168. type: integer
  5169. isgeneral:
  5170. description: 是否通用券 - 0:否 1:是
  5171. type: integer
  5172. limitedflag:
  5173. description: 是否指定商品 - 0:不限 1:限制
  5174. type: integer
  5175. limitedgoodsids:
  5176. description: 指定商品IDs[逗号分隔]
  5177. type: string
  5178. qty:
  5179. description: 数量(按1平铺)
  5180. type: integer
  5181. startdate:
  5182. description: 开始日期
  5183. type: string
  5184. userid:
  5185. description: 用户ID
  5186. type: integer
  5187. userscope:
  5188. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  5189. type: string
  5190. required:
  5191. - couponholdid
  5192. type: object
  5193. models.MyUsedCoupon:
  5194. properties:
  5195. accountid:
  5196. description: 资金账户ID(买方)
  5197. type: integer
  5198. conditionvalue:
  5199. description: 条件阈值(可为0)
  5200. type: number
  5201. couponcategroy:
  5202. description: 种类 - 1:现金券 2:折扣券
  5203. type: integer
  5204. couponname:
  5205. description: 优惠券名称
  5206. type: string
  5207. coupontypeid:
  5208. description: 优惠券类型ID(买方)
  5209. type: string
  5210. couponvalue:
  5211. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  5212. type: number
  5213. createtime:
  5214. description: 创建时间
  5215. type: string
  5216. goodsid:
  5217. description: 商品ID
  5218. type: integer
  5219. handlestatus:
  5220. description: 处理状态
  5221. type: integer
  5222. marketid:
  5223. description: 市场ID
  5224. type: integer
  5225. offamount:
  5226. description: 优惠金额
  5227. type: number
  5228. orderid:
  5229. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5230. type: string
  5231. sellaccountid:
  5232. description: 资金账户ID(卖方)
  5233. type: integer
  5234. tradeamount:
  5235. description: 成交金额
  5236. type: number
  5237. tradeid:
  5238. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5239. type: string
  5240. usedqty:
  5241. description: 使用数量
  5242. type: integer
  5243. required:
  5244. - coupontypeid
  5245. - orderid
  5246. type: object
  5247. models.OperationPrimaryMenu:
  5248. properties:
  5249. Children:
  5250. description: 二级功能菜单
  5251. items:
  5252. $ref: '#/definitions/models.OperationSecondaryMenu'
  5253. type: array
  5254. Key:
  5255. description: 菜单KEY
  5256. type: string
  5257. Label:
  5258. description: 菜单标题
  5259. type: string
  5260. type: object
  5261. models.OperationSecondaryMenu:
  5262. properties:
  5263. Key:
  5264. description: 菜单KEY
  5265. type: string
  5266. Label:
  5267. description: 菜单标题
  5268. type: string
  5269. TabList:
  5270. description: 三级功能菜单
  5271. items:
  5272. $ref: '#/definitions/models.OperationTabMenu'
  5273. type: array
  5274. type: object
  5275. models.OperationTabMenu:
  5276. properties:
  5277. Key:
  5278. description: 菜单KEY
  5279. type: string
  5280. Label:
  5281. description: 菜单标题
  5282. type: string
  5283. type: object
  5284. models.QuotePrimaryMenu:
  5285. properties:
  5286. Index:
  5287. description: 序号
  5288. type: integer
  5289. Key:
  5290. description: 键名
  5291. type: string
  5292. Name:
  5293. description: 菜单名称
  5294. type: string
  5295. SubMenus:
  5296. description: 子菜单
  5297. items:
  5298. $ref: '#/definitions/models.QuoteSecondaryMenu'
  5299. type: array
  5300. SubTitleType:
  5301. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  5302. type: integer
  5303. TradeModes:
  5304. description: 包含市场交易类型
  5305. type: string
  5306. type: object
  5307. models.QuoteSecondaryMenu:
  5308. properties:
  5309. ExExchangeCode:
  5310. description: 外部交易所代码
  5311. type: string
  5312. ExExchangeID:
  5313. description: 外部交易所ID
  5314. type: integer
  5315. GoodsGroupIDs:
  5316. description: 商品组ID列表
  5317. items:
  5318. type: integer
  5319. type: array
  5320. Index:
  5321. description: 序号
  5322. type: integer
  5323. MarketID:
  5324. description: 市场ID
  5325. type: integer
  5326. MenuTitle:
  5327. description: 菜单标题(市场名称或外部交易所名称)
  5328. type: string
  5329. TradeMode:
  5330. description: 交易模式
  5331. type: integer
  5332. type: object
  5333. models.SearchGoods:
  5334. properties:
  5335. goodscode:
  5336. description: 商品代码(内部)
  5337. type: string
  5338. goodsid:
  5339. description: 商品ID(自增ID SEQ_GOODS)
  5340. type: integer
  5341. goodsname:
  5342. description: 商品名称
  5343. type: string
  5344. marketid:
  5345. description: 所属市场ID
  5346. type: integer
  5347. marketname:
  5348. description: 市场名称
  5349. type: string
  5350. trademode:
  5351. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5352. 21:竞拍-大宗式 22:受托竞价
  5353. type: integer
  5354. required:
  5355. - goodscode
  5356. - goodsid
  5357. - goodsname
  5358. - marketid
  5359. - trademode
  5360. type: object
  5361. models.Szdz2imageconfig:
  5362. properties:
  5363. configid:
  5364. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  5365. type: integer
  5366. imagepath:
  5367. description: 图片
  5368. type: string
  5369. imagetype:
  5370. description: 类型 - 1:App首页轮播 2:我的
  5371. type: integer
  5372. sort:
  5373. description: 排序
  5374. type: integer
  5375. title:
  5376. description: 标题
  5377. type: string
  5378. url:
  5379. description: 链接
  5380. type: string
  5381. required:
  5382. - configid
  5383. type: object
  5384. models.Szdz3convertconfig:
  5385. properties:
  5386. canin:
  5387. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  5388. type: integer
  5389. canout:
  5390. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  5391. type: integer
  5392. converttype:
  5393. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  5394. 6:交易转花生米(不设置)
  5395. type: integer
  5396. createtime:
  5397. description: 创建时间
  5398. type: string
  5399. creatorid:
  5400. description: 创建人
  5401. type: integer
  5402. daymaxvalue:
  5403. description: 当日最大转入限制
  5404. type: number
  5405. freezedays:
  5406. description: 冻结天数 [5:花生米转交易]
  5407. type: integer
  5408. innergoodsid:
  5409. description: 内部商品ID[交易]
  5410. type: integer
  5411. inratio:
  5412. description: 目标值
  5413. type: integer
  5414. modifierid:
  5415. description: 修改人
  5416. type: integer
  5417. modifytime:
  5418. description: 修改时间
  5419. type: string
  5420. outergoodscode:
  5421. description: 外部商品代码[JD\PD]
  5422. type: string
  5423. outratio:
  5424. description: 源值
  5425. type: integer
  5426. pddecimalplace:
  5427. description: PD小数位
  5428. type: integer
  5429. timemaxvalue:
  5430. description: 单次最大转入限制
  5431. type: number
  5432. timeminvalue:
  5433. description: 单次最小转入限制
  5434. type: number
  5435. required:
  5436. - converttype
  5437. - innergoodsid
  5438. - outergoodscode
  5439. type: object
  5440. models.Szdz3searchwhitelist:
  5441. properties:
  5442. createtime:
  5443. description: 创建时间
  5444. type: string
  5445. creatorid:
  5446. description: 创建人
  5447. type: integer
  5448. modifierid:
  5449. description: 修改人
  5450. type: integer
  5451. modifytime:
  5452. description: 修改时间
  5453. type: string
  5454. userid:
  5455. description: 用户ID
  5456. type: integer
  5457. required:
  5458. - userid
  5459. type: object
  5460. models.Tablecolumnconfig:
  5461. properties:
  5462. aligntype:
  5463. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  5464. type: integer
  5465. autoid:
  5466. description: AutoID
  5467. type: integer
  5468. columnfield:
  5469. description: 列字段
  5470. type: string
  5471. columntitle:
  5472. description: 列Title
  5473. type: string
  5474. columnwidth:
  5475. description: 列宽
  5476. type: string
  5477. formatterstring:
  5478. description: 格式化字符
  5479. type: string
  5480. formattertype:
  5481. description: 格式化类型
  5482. type: string
  5483. groupname:
  5484. description: 表头分组名称
  5485. type: string
  5486. isshow:
  5487. description: 是否显示 - 0:不显示 1:显示
  5488. type: integer
  5489. needsummary:
  5490. description: 是否需要汇总 - 0:不需要 1:需要
  5491. type: integer
  5492. orderindex:
  5493. description: 顺序
  5494. type: integer
  5495. remark:
  5496. description: 备注
  5497. type: string
  5498. summarytype:
  5499. description: 汇总类型 - 1:加总 2:最后一个
  5500. type: integer
  5501. tablekey:
  5502. description: 列表Key
  5503. type: string
  5504. required:
  5505. - autoid
  5506. type: object
  5507. models.Useraccount:
  5508. properties:
  5509. accountname:
  5510. description: 账户名称(机构名称)
  5511. type: string
  5512. accountstatus:
  5513. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  5514. type: integer
  5515. auditremark:
  5516. description: 审核备注
  5517. type: string
  5518. audittime:
  5519. description: 审核时间
  5520. type: string
  5521. audituserid:
  5522. description: 审核人
  5523. type: integer
  5524. broker:
  5525. description: 所属经纪人ID
  5526. type: integer
  5527. canceltime:
  5528. description: 销户时间
  5529. type: string
  5530. canceluserid:
  5531. description: 销户人
  5532. type: integer
  5533. createtime:
  5534. description: 创建时间
  5535. type: string
  5536. creatorid:
  5537. description: 创建人
  5538. type: integer
  5539. hasauth:
  5540. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  5541. type: integer
  5542. isanonymous:
  5543. description: 是否匿名下单 - 0:否 1:是
  5544. type: integer
  5545. maxinvestornum:
  5546. description: 最大用户数(经纪会员下投资者个数)
  5547. type: integer
  5548. memberuserid:
  5549. description: 所属会员ID
  5550. type: integer
  5551. modifierid:
  5552. description: 修改人
  5553. type: integer
  5554. modifyremark:
  5555. description: 变更备注
  5556. type: string
  5557. modifystatus:
  5558. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  5559. type: integer
  5560. modifytime:
  5561. description: 修改时间
  5562. type: string
  5563. parentuserid:
  5564. description: 所属机构ID
  5565. type: integer
  5566. reckonaccountid:
  5567. description: 默认结算资金账号ID(机构分润使用) 作废
  5568. type: integer
  5569. refercount:
  5570. description: 推荐总人数
  5571. type: integer
  5572. refereeuserid:
  5573. description: 推荐人ID
  5574. type: integer
  5575. refernum:
  5576. description: 推荐码
  5577. type: string
  5578. subarealevelpath:
  5579. description: 子机构层级路径(逗号分隔,首尾加逗号)
  5580. type: string
  5581. userid:
  5582. description: 用户ID
  5583. type: integer
  5584. usertype:
  5585. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  5586. type: integer
  5587. required:
  5588. - userid
  5589. type: object
  5590. models.Userfavoritegoods:
  5591. properties:
  5592. goodsid:
  5593. description: 商品ID
  5594. type: integer
  5595. required:
  5596. - goodsid
  5597. type: object
  5598. models.Userinfo:
  5599. properties:
  5600. address:
  5601. description: 地址
  5602. type: string
  5603. attachment1:
  5604. description: 附件1
  5605. type: string
  5606. attachment2:
  5607. description: 附件2
  5608. type: string
  5609. bankaccount:
  5610. description: 银行帐号 (加密存储)
  5611. type: string
  5612. bankaccountname:
  5613. description: 收款人名称
  5614. type: string
  5615. bankcardfrontphotourl:
  5616. description: 银行卡正面照地址
  5617. type: string
  5618. bankid:
  5619. description: 银行编码
  5620. type: string
  5621. bankname:
  5622. description: 银行名称
  5623. type: string
  5624. biznature:
  5625. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  5626. type: integer
  5627. bizscope:
  5628. description: 企业经营范围(企业)
  5629. type: string
  5630. cardbackphotourl:
  5631. description: 证件背面图片地址
  5632. type: string
  5633. cardfrontphotourl:
  5634. description: 证件正面图片地址
  5635. type: string
  5636. cardnum:
  5637. description: 证件号码(加密存储)
  5638. type: string
  5639. cardtypeid:
  5640. description: 证件类型ID
  5641. type: integer
  5642. cityid:
  5643. description: 市
  5644. type: integer
  5645. company:
  5646. description: 公司(个人)
  5647. type: string
  5648. contactname:
  5649. description: 联系人
  5650. type: string
  5651. countryid:
  5652. description: 国家
  5653. type: integer
  5654. createtime:
  5655. description: 创建时间
  5656. type: string
  5657. creatorid:
  5658. description: 创建人
  5659. type: integer
  5660. customername:
  5661. description: 客户名称(企业名称)
  5662. type: string
  5663. districtid:
  5664. description: 地区
  5665. type: integer
  5666. email:
  5667. description: 邮件(加密存储)
  5668. type: string
  5669. fax:
  5670. description: 传真(加密存储)
  5671. type: string
  5672. halfbodyphotourl:
  5673. description: 半身照地址
  5674. type: string
  5675. hasencrypt:
  5676. description: 数据是否已加密 - 0:未加密 1:已加密
  5677. type: integer
  5678. headurl:
  5679. description: 头像地址
  5680. type: string
  5681. legalcardbackphotourl:
  5682. description: 法人身份证背面照地址
  5683. type: string
  5684. legalcardfrontphotourl:
  5685. description: 法人身份证正面照地址
  5686. type: string
  5687. legalpersonname:
  5688. description: 法人姓名(企业)
  5689. type: string
  5690. mobile:
  5691. description: 手机号码(加密存储)
  5692. type: string
  5693. mobile2:
  5694. description: 手机号码[明文-尚志]
  5695. type: string
  5696. modifierid:
  5697. description: 修改人
  5698. type: integer
  5699. modifiertime:
  5700. description: 修改时间
  5701. type: string
  5702. needinvoice:
  5703. description: 是否需要发票 - 0:不需要 1:需要
  5704. type: integer
  5705. nickname:
  5706. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  5707. type: string
  5708. openmode:
  5709. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  5710. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  5711. type: integer
  5712. otherurl:
  5713. description: 其它图片地址[使用分号分隔]
  5714. type: string
  5715. postalcode:
  5716. description: 邮政编码
  5717. type: string
  5718. provinceid:
  5719. description: 省
  5720. type: integer
  5721. qq:
  5722. description: QQ(加密存储
  5723. type: string
  5724. remark:
  5725. description: 备注
  5726. type: string
  5727. sex:
  5728. description: '用户性别 0: 女 1: 男'
  5729. type: integer
  5730. signpdfurl:
  5731. description: 签约pdf文件
  5732. type: string
  5733. telphone:
  5734. description: 联系电话(加密存储)
  5735. type: string
  5736. userid:
  5737. description: 用户ID
  5738. type: integer
  5739. userinfotype:
  5740. description: 用户信息类型 - 1:个人 2:企业
  5741. type: integer
  5742. userstatus:
  5743. description: 用户状态 - 1:正常 2:注销
  5744. type: integer
  5745. usertype:
  5746. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  5747. type: integer
  5748. wechat:
  5749. description: 微信(加密存储)
  5750. type: string
  5751. wskhinfo:
  5752. description: 开户申请信息(JSON)
  5753. type: string
  5754. required:
  5755. - userid
  5756. type: object
  5757. models.WRCategoryTree:
  5758. properties:
  5759. areauserid:
  5760. description: 所属机构
  5761. type: integer
  5762. categorydesc:
  5763. description: 类别描述
  5764. type: string
  5765. categoryid:
  5766. description: 类别ID(SEQ_WRCATEGORY)
  5767. type: integer
  5768. categoryname:
  5769. description: 类别名称
  5770. type: string
  5771. iconurl:
  5772. description: 图标地址
  5773. type: string
  5774. orderindex:
  5775. description: 顺序
  5776. type: integer
  5777. parentcategoryid:
  5778. description: 父类别ID
  5779. type: integer
  5780. subcategory:
  5781. description: 子分类
  5782. items:
  5783. $ref: '#/definitions/models.WRCategoryTree'
  5784. type: array
  5785. required:
  5786. - categoryid
  5787. type: object
  5788. models.WRSConverTDetail:
  5789. properties:
  5790. convertratio:
  5791. description: 套保系数
  5792. type: number
  5793. deliverygoodsid:
  5794. description: 现货品种ID
  5795. type: integer
  5796. middlegoodscode:
  5797. description: 套保品种代码
  5798. type: string
  5799. middlegoodsid:
  5800. description: 套保品种ID
  5801. type: integer
  5802. middlegoodsname:
  5803. description: 套保品种名称
  5804. type: string
  5805. modifytime:
  5806. description: 修改时间
  5807. type: string
  5808. wrstandardid:
  5809. description: 现货商品ID
  5810. type: integer
  5811. type: object
  5812. models.WRStandardInfo:
  5813. properties:
  5814. createtime:
  5815. description: 创建时间
  5816. type: string
  5817. creatorid:
  5818. description: 创建人
  5819. type: integer
  5820. deliverygoodsid:
  5821. description: 品种ID
  5822. type: integer
  5823. deliverygoodsname:
  5824. description: 交割商品名称
  5825. type: string
  5826. factoryitemjson:
  5827. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  5828. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  5829. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  5830. 逗号分隔'
  5831. type: string
  5832. isvalid:
  5833. description: 是否有效 - 0:无效 1:有效
  5834. type: integer
  5835. minivalue:
  5836. description: 最小变动值
  5837. type: integer
  5838. minivaluedp:
  5839. description: 最小变动值小数位
  5840. type: integer
  5841. realminivalue:
  5842. description: 实际最小变动值
  5843. type: integer
  5844. realminivaluedp:
  5845. description: 实际最小变动值小数位
  5846. type: integer
  5847. unitid:
  5848. description: 单位ID
  5849. type: integer
  5850. unitname:
  5851. description: 单位
  5852. type: string
  5853. updatetime:
  5854. description: 更新时间
  5855. type: string
  5856. updatorid:
  5857. description: 更新人
  5858. type: integer
  5859. wrsstatus:
  5860. description: 状态 - 作废 - 0:未激活 1:正常
  5861. type: integer
  5862. wrstandardcode:
  5863. description: 仓单标准代码
  5864. type: string
  5865. wrstandardid:
  5866. description: 仓单标准ID(SEQ_WRSTANDARD)
  5867. type: integer
  5868. wrstandardname:
  5869. description: 仓单标准名称
  5870. type: string
  5871. required:
  5872. - wrstandardid
  5873. type: object
  5874. models.Warehouseinfo:
  5875. properties:
  5876. address:
  5877. description: 详细地址
  5878. type: string
  5879. areauserid:
  5880. description: 所属机构
  5881. type: integer
  5882. autoid:
  5883. description: 自增ID
  5884. type: integer
  5885. cityid:
  5886. description: 市
  5887. type: integer
  5888. contactname:
  5889. description: 联系人
  5890. type: string
  5891. contactnum:
  5892. description: 联系电话
  5893. type: string
  5894. countryid:
  5895. description: 国家
  5896. type: integer
  5897. createtime:
  5898. description: 创建时间
  5899. type: string
  5900. districtid:
  5901. description: 区
  5902. type: integer
  5903. hasvideo:
  5904. description: 是否有视频 - 0:无 1:有
  5905. type: integer
  5906. provinceid:
  5907. description: 省
  5908. type: integer
  5909. remark:
  5910. description: 审核备注
  5911. type: string
  5912. videourl:
  5913. description: 视频地址
  5914. type: string
  5915. warehousecode:
  5916. description: 仓库代码
  5917. type: string
  5918. warehousename:
  5919. description: 仓库名称
  5920. type: string
  5921. warehousestatus:
  5922. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  5923. type: integer
  5924. warehousetype:
  5925. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5926. type: integer
  5927. required:
  5928. - autoid
  5929. - warehousecode
  5930. type: object
  5931. order.QueryHisTradeDetailRsp:
  5932. properties:
  5933. accountid:
  5934. description: 账户ID[报价币种]
  5935. type: integer
  5936. buildtype:
  5937. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  5938. type: integer
  5939. buyorsell:
  5940. description: 方向 - 0:买 1:卖
  5941. type: integer
  5942. charge:
  5943. description: 手续费
  5944. type: number
  5945. closecharge:
  5946. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5947. type: number
  5948. closeexchagechargevalue:
  5949. description: 平仓交易所手续费设置值
  5950. type: number
  5951. closefeealgorithm:
  5952. description: 平仓手续费收取方式 1:比率 2:固定
  5953. type: integer
  5954. closememberchargevalue:
  5955. description: 平仓会员手续费设置值
  5956. type: number
  5957. closepl:
  5958. description: 平仓盈亏
  5959. type: number
  5960. closepl2:
  5961. description: 平仓盈亏[逐笔]
  5962. type: number
  5963. closeqty:
  5964. description: 平仓数量(先建后平操作 需要记录)
  5965. type: integer
  5966. creditamount:
  5967. description: 授信金额
  5968. type: number
  5969. gcaccountid:
  5970. description: 账户ID[合约币种]
  5971. type: integer
  5972. goodscode:
  5973. description: 商品代码
  5974. type: string
  5975. goodsid:
  5976. description: 商品ID
  5977. type: integer
  5978. goodsname:
  5979. description: 商品名称
  5980. type: string
  5981. histradedate:
  5982. description: 历史交易日
  5983. type: string
  5984. intclosepl:
  5985. description: 整型盈亏(用于交易结算试算平衡-收益权)
  5986. type: integer
  5987. isconfirmexercise:
  5988. description: 是否确认行权- 0:否 1:是
  5989. type: integer
  5990. ismain:
  5991. description: 是否主单 - 0:不是 1:是
  5992. type: integer
  5993. ispreexercise:
  5994. description: 是否预申报- 0:否 1:是
  5995. type: integer
  5996. isreckoned:
  5997. description: 是否结算 - 0:未结算 1:已结算
  5998. type: integer
  5999. isvaliddata:
  6000. description: 是否有效 - 0:无效 1:有效
  6001. type: integer
  6002. listingselecttype:
  6003. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6004. type: integer
  6005. marketid:
  6006. description: 市场ID
  6007. type: integer
  6008. marketname:
  6009. description: 市场名称
  6010. type: string
  6011. matchaccountid:
  6012. description: 对手账号id
  6013. type: integer
  6014. memberuserid:
  6015. description: 会员id 个人投资者 需要填写
  6016. type: integer
  6017. opencharge:
  6018. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  6019. type: number
  6020. openexchagechargevalue:
  6021. description: 建仓交易所手续费设置值
  6022. type: number
  6023. openfeealgorithm:
  6024. description: 建仓手续费收取方式 1:比率 2:固定
  6025. type: integer
  6026. openmemberchargevalue:
  6027. description: 建仓会员手续费设置值
  6028. type: number
  6029. openqty:
  6030. description: 开仓数量(先建后平操作 需要记录)
  6031. type: integer
  6032. optiontype:
  6033. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  6034. type: integer
  6035. orderid:
  6036. description: 委托单号
  6037. type: string
  6038. performanceplanid:
  6039. description: 履约计划ID[期权]
  6040. type: integer
  6041. performancestatus:
  6042. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  6043. type: integer
  6044. preexerciseprice:
  6045. description: 预申报价格
  6046. type: number
  6047. premium:
  6048. description: 权利金 - [持仓单的权利金]
  6049. type: number
  6050. relatedouttradeid:
  6051. description: 关联外部成交单ID
  6052. type: integer
  6053. status:
  6054. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  6055. type: integer
  6056. tradeamount:
  6057. description: 成交金额[账户币种,用于所有权]
  6058. type: number
  6059. tradedate:
  6060. description: 交易日(yyyyMMdd)
  6061. type: string
  6062. tradeid:
  6063. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6064. type: string
  6065. trademode:
  6066. description: 交易模式
  6067. type: integer
  6068. tradeprice:
  6069. description: 成交价格
  6070. type: number
  6071. tradeproperty:
  6072. description: 交易属性
  6073. type: integer
  6074. tradeqty:
  6075. description: 成交数量
  6076. type: integer
  6077. tradetime:
  6078. description: 成交时间
  6079. type: string
  6080. tradetype:
  6081. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  6082. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  6083. type: integer
  6084. required:
  6085. - accountid
  6086. - buyorsell
  6087. - goodsid
  6088. - histradedate
  6089. - marketid
  6090. - memberuserid
  6091. - orderid
  6092. - tradeamount
  6093. - tradedate
  6094. - tradeid
  6095. - tradeprice
  6096. - tradeqty
  6097. - tradetime
  6098. type: object
  6099. order.QueryHisTradeOrderDetailRsp:
  6100. properties:
  6101. accountid:
  6102. description: 账户ID[报价币种]
  6103. type: integer
  6104. buildtype:
  6105. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  6106. type: integer
  6107. buyorsell:
  6108. description: 买卖 - 0:买 1:卖
  6109. type: integer
  6110. cancelorderid:
  6111. description: 撤单单号(撤单时填写)
  6112. type: string
  6113. cancelqty:
  6114. description: 撤单数量
  6115. type: integer
  6116. clientordertime:
  6117. description: 客户端委托时间
  6118. type: string
  6119. clientticket:
  6120. description: 客户端流水号
  6121. type: string
  6122. clienttype:
  6123. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  6124. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  6125. type: integer
  6126. closeexchagechargevalue:
  6127. description: 平仓交易所手续费设置值
  6128. type: number
  6129. closefeealgorithm:
  6130. description: 平仓手续费收取方式 1:比率 2:固定
  6131. type: integer
  6132. closefreezecharge:
  6133. description: 平仓冻结手续费(先建后平操作,需要记录)
  6134. type: number
  6135. closememberchargevalue:
  6136. description: 平仓会员手续费设置值
  6137. type: number
  6138. closeqty:
  6139. description: 平仓数量(先建后平操作 需要记录)
  6140. type: integer
  6141. closetradeqty:
  6142. description: 平仓成交数量(先建后平操作,需要记录)
  6143. type: integer
  6144. closeunfreezecharge:
  6145. description: 平仓解冻手续费(先建后平操作,需要记录)
  6146. type: number
  6147. delistingtype:
  6148. description: 摘牌类型 - 1:价格最优 2:点选成交
  6149. type: integer
  6150. freezecharge:
  6151. description: 冻结手续费
  6152. type: number
  6153. freezemargin:
  6154. description: 冻结保证金(冻结交易金额)
  6155. type: number
  6156. gcaccountid:
  6157. description: 账户ID[合约币种]
  6158. type: integer
  6159. goodscode:
  6160. description: 商品代码
  6161. type: string
  6162. goodsid:
  6163. description: 商品ID
  6164. type: integer
  6165. goodsname:
  6166. description: 商品名称
  6167. type: string
  6168. histradedate:
  6169. description: 历史交易日
  6170. type: string
  6171. isconfirmexercise:
  6172. description: 是否确认行权- 0:否 1:是
  6173. type: integer
  6174. ispreexercise:
  6175. description: 是否预申报- 0:否 1:是
  6176. type: integer
  6177. isvaliddata:
  6178. description: 是否有效 - 0:无效 1:有效
  6179. type: integer
  6180. listingselecttype:
  6181. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6182. type: integer
  6183. marginalgorithm:
  6184. description: 保证金收取方式 1:比率 2:固定
  6185. type: integer
  6186. marginvalue:
  6187. description: 即市保证金设置值
  6188. type: number
  6189. marketid:
  6190. description: 市场ID
  6191. type: integer
  6192. marketmaxsub:
  6193. description: 市价最大偏移范围
  6194. type: number
  6195. marketname:
  6196. description: 市场名称
  6197. type: string
  6198. memberuserid:
  6199. description: 所属会员UserID
  6200. type: integer
  6201. openexchagechargevalue:
  6202. description: 建仓交易所手续费设置值
  6203. type: number
  6204. openfeealgorithm:
  6205. description: 建仓手续费收取方式 1:比率 2:固定
  6206. type: integer
  6207. openfreezecharge:
  6208. description: 开仓冻结手续费(先建后平操作,需要记录)
  6209. type: number
  6210. openmemberchargevalue:
  6211. description: 建仓会员手续费设置值
  6212. type: number
  6213. openqty:
  6214. description: 开仓数量(先建后平操作,需要记录)
  6215. type: integer
  6216. opentradeqty:
  6217. description: 开仓成交数量(先建后平操作,需要记录)
  6218. type: integer
  6219. openunfreezecharge:
  6220. description: 开仓解冻手续费(先建后平操作,需要记录)
  6221. type: number
  6222. operatetype:
  6223. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  6224. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  6225. 15:管理端协议转让
  6226. type: integer
  6227. operatorid:
  6228. description: 登录账号(LoginID)
  6229. type: integer
  6230. optiontype:
  6231. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  6232. type: integer
  6233. orderid:
  6234. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6235. type: string
  6236. orderprice:
  6237. description: 委托价格
  6238. type: number
  6239. orderqty:
  6240. description: 委托数量
  6241. type: integer
  6242. ordersrc:
  6243. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  6244. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  6245. type: integer
  6246. orderstatus:
  6247. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6248. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6249. 16:成交失败违约(荷兰式竞拍专用)
  6250. type: integer
  6251. ordertime:
  6252. description: 委托时间
  6253. type: string
  6254. preexerciseprice:
  6255. description: 预申报价格
  6256. type: number
  6257. premium:
  6258. description: 权利金
  6259. type: number
  6260. preorderid:
  6261. description: 关联预埋单号(止盈止损单时填写)
  6262. type: string
  6263. pricemode:
  6264. description: '取价方式 - 1:市价 2: 限价'
  6265. type: integer
  6266. quoteid:
  6267. description: 报价单ID
  6268. type: integer
  6269. relatedid:
  6270. description: 关联单号(交割单)
  6271. type: string
  6272. retcode:
  6273. description: 错误代码
  6274. type: integer
  6275. sessionid:
  6276. description: 会话ID
  6277. type: integer
  6278. tradedate:
  6279. description: 交易日(yyyyMMdd)
  6280. type: string
  6281. trademode:
  6282. description: 交易模式
  6283. type: integer
  6284. tradeproperty:
  6285. description: 交易属性
  6286. type: integer
  6287. tradeqty:
  6288. description: 成交数量
  6289. type: integer
  6290. unfreezecharge:
  6291. description: 解冻手续费
  6292. type: number
  6293. unfreezemargin:
  6294. description: 解冻保证金
  6295. type: number
  6296. updatetime:
  6297. description: 更新时间
  6298. type: string
  6299. uuid:
  6300. description: 发起端唯一id
  6301. type: string
  6302. validtime:
  6303. description: 有效期限
  6304. type: string
  6305. validtype:
  6306. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  6307. type: integer
  6308. volumetype:
  6309. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  6310. type: integer
  6311. required:
  6312. - accountid
  6313. - buildtype
  6314. - buyorsell
  6315. - goodsid
  6316. - histradedate
  6317. - marketid
  6318. - memberuserid
  6319. - operatetype
  6320. - orderid
  6321. - orderqty
  6322. - ordertime
  6323. - pricemode
  6324. - tradedate
  6325. - validtype
  6326. type: object
  6327. order.QueryTradeDetailRsp:
  6328. properties:
  6329. accountid:
  6330. description: 账户ID[报价币种]
  6331. type: integer
  6332. buildtype:
  6333. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  6334. type: integer
  6335. buyorsell:
  6336. description: 方向 - 0:买 1:卖
  6337. type: integer
  6338. charge:
  6339. description: 手续费
  6340. type: number
  6341. closecharge:
  6342. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  6343. type: number
  6344. closeexchagechargevalue:
  6345. description: 平仓交易所手续费设置值
  6346. type: number
  6347. closefeealgorithm:
  6348. description: 平仓手续费收取方式 1:比率 2:固定
  6349. type: integer
  6350. closememberchargevalue:
  6351. description: 平仓会员手续费设置值
  6352. type: number
  6353. closepl:
  6354. description: 平仓盈亏
  6355. type: number
  6356. closepl2:
  6357. description: 平仓盈亏[逐笔]
  6358. type: number
  6359. closeqty:
  6360. description: 平仓数量(先建后平操作 需要记录)
  6361. type: integer
  6362. creditamount:
  6363. description: 授信金额
  6364. type: number
  6365. gcaccountid:
  6366. description: 账户ID[合约币种]
  6367. type: integer
  6368. goodscode:
  6369. description: 商品代码
  6370. type: string
  6371. goodsid:
  6372. description: 商品ID
  6373. type: integer
  6374. goodsname:
  6375. description: 商品名称
  6376. type: string
  6377. intclosepl:
  6378. description: 整型盈亏(用于交易结算试算平衡-收益权)
  6379. type: integer
  6380. isconfirmexercise:
  6381. description: 是否确认行权- 0:否 1:是
  6382. type: integer
  6383. ismain:
  6384. description: 是否主单 - 0:不是 1:是
  6385. type: integer
  6386. ispreexercise:
  6387. description: 是否预申报- 0:否 1:是
  6388. type: integer
  6389. isreckoned:
  6390. description: 是否结算 - 0:未结算 1:已结算
  6391. type: integer
  6392. listingselecttype:
  6393. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6394. type: integer
  6395. marketid:
  6396. description: 市场ID
  6397. type: integer
  6398. marketname:
  6399. description: 市场名称
  6400. type: string
  6401. matchaccountid:
  6402. description: 对手账号id
  6403. type: integer
  6404. memberuserid:
  6405. description: 会员id 个人投资者 需要填写
  6406. type: integer
  6407. opencharge:
  6408. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  6409. type: number
  6410. openexchagechargevalue:
  6411. description: 建仓交易所手续费设置值
  6412. type: number
  6413. openfeealgorithm:
  6414. description: 建仓手续费收取方式 1:比率 2:固定
  6415. type: integer
  6416. openmemberchargevalue:
  6417. description: 建仓会员手续费设置值
  6418. type: number
  6419. openqty:
  6420. description: 开仓数量(先建后平操作 需要记录)
  6421. type: integer
  6422. optiontype:
  6423. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  6424. type: integer
  6425. orderid:
  6426. description: 委托单号
  6427. type: string
  6428. performanceplanid:
  6429. description: 履约计划ID[期权]
  6430. type: integer
  6431. performancestatus:
  6432. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  6433. type: integer
  6434. preexerciseprice:
  6435. description: 预申报价格
  6436. type: number
  6437. premium:
  6438. description: 权利金 - [持仓单的权利金]
  6439. type: number
  6440. relatedouttradeid:
  6441. description: 关联外部成交单ID
  6442. type: integer
  6443. status:
  6444. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  6445. type: integer
  6446. tradeamount:
  6447. description: 成交金额[账户币种,用于所有权]
  6448. type: number
  6449. tradedate:
  6450. description: 交易日(yyyyMMdd)
  6451. type: string
  6452. tradeid:
  6453. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6454. type: string
  6455. trademode:
  6456. description: 交易模式
  6457. type: integer
  6458. tradeprice:
  6459. description: 成交价格
  6460. type: number
  6461. tradeproperty:
  6462. description: 交易属性
  6463. type: integer
  6464. tradeqty:
  6465. description: 成交数量
  6466. type: integer
  6467. tradetime:
  6468. description: 成交时间
  6469. type: string
  6470. tradetype:
  6471. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  6472. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  6473. type: integer
  6474. required:
  6475. - accountid
  6476. - buyorsell
  6477. - goodsid
  6478. - marketid
  6479. - memberuserid
  6480. - orderid
  6481. - tradeamount
  6482. - tradedate
  6483. - tradeid
  6484. - tradeprice
  6485. - tradeqty
  6486. - tradetime
  6487. type: object
  6488. order.QueryTradeOrderDetailRsp:
  6489. properties:
  6490. accountid:
  6491. description: 账户ID[报价币种]
  6492. type: integer
  6493. buildtype:
  6494. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  6495. type: integer
  6496. buyorsell:
  6497. description: 买卖 - 0:买 1:卖
  6498. type: integer
  6499. cancelorderid:
  6500. description: 撤单单号(撤单时填写)
  6501. type: string
  6502. cancelqty:
  6503. description: 撤单数量
  6504. type: integer
  6505. clienttype:
  6506. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  6507. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  6508. type: integer
  6509. closefreezecharge:
  6510. description: 平仓冻结手续费(先建后平操作,需要记录)
  6511. type: number
  6512. closeqty:
  6513. description: 平仓数量(先建后平操作 需要记录)
  6514. type: integer
  6515. closetradeqty:
  6516. description: 平仓成交数量(先建后平操作,需要记录)
  6517. type: integer
  6518. closeunfreezecharge:
  6519. description: 平仓解冻手续费(先建后平操作,需要记录)
  6520. type: number
  6521. delistingtype:
  6522. description: 摘牌类型 - 1:价格最优 2:点选成交
  6523. type: integer
  6524. enableqty:
  6525. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  6526. type: integer
  6527. freezecharge:
  6528. description: 冻结手续费
  6529. type: number
  6530. freezemargin:
  6531. description: 冻结保证金(冻结交易金额)
  6532. type: number
  6533. goodscode:
  6534. description: 商品代码
  6535. type: string
  6536. goodsid:
  6537. description: 商品ID
  6538. type: integer
  6539. goodsname:
  6540. description: 商品名称
  6541. type: string
  6542. listingselecttype:
  6543. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6544. type: integer
  6545. marketid:
  6546. description: 市场ID
  6547. type: integer
  6548. marketname:
  6549. description: 市场名称
  6550. type: string
  6551. openfreezecharge:
  6552. description: 开仓冻结手续费(先建后平操作,需要记录)
  6553. type: number
  6554. openqty:
  6555. description: 开仓数量(先建后平操作,需要记录)
  6556. type: integer
  6557. opentradeqty:
  6558. description: 开仓成交数量(先建后平操作,需要记录)
  6559. type: integer
  6560. openunfreezecharge:
  6561. description: 开仓解冻手续费(先建后平操作,需要记录)
  6562. type: number
  6563. operatetype:
  6564. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  6565. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  6566. 15:管理端协议转让
  6567. type: integer
  6568. operatorid:
  6569. description: 登录账号(LoginID)
  6570. type: integer
  6571. orderid:
  6572. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6573. type: string
  6574. orderprice:
  6575. description: 委托价格
  6576. type: number
  6577. orderqty:
  6578. description: 委托数量
  6579. type: integer
  6580. ordersrc:
  6581. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  6582. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  6583. type: integer
  6584. orderstatus:
  6585. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6586. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6587. 16:成交失败违约(荷兰式竞拍专用)
  6588. type: integer
  6589. ordertime:
  6590. description: 委托时间
  6591. type: string
  6592. preorderid:
  6593. description: 关联预埋单号(止盈止损单时填写)
  6594. type: string
  6595. pricemode:
  6596. description: '取价方式 - 1:市价 2: 限价'
  6597. type: integer
  6598. relatedid:
  6599. description: 关联单号(交割单)
  6600. type: string
  6601. tradedate:
  6602. description: 交易日(yyyyMMdd)
  6603. type: string
  6604. trademode:
  6605. description: 交易模式
  6606. type: integer
  6607. tradeqty:
  6608. description: 成交数量
  6609. type: integer
  6610. unfreezecharge:
  6611. description: 解冻手续费
  6612. type: number
  6613. unfreezemargin:
  6614. description: 解冻保证金
  6615. type: number
  6616. validtime:
  6617. description: 有效期限
  6618. type: string
  6619. validtype:
  6620. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  6621. type: integer
  6622. volumetype:
  6623. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  6624. type: integer
  6625. required:
  6626. - accountid
  6627. - buildtype
  6628. - buyorsell
  6629. - goodsid
  6630. - marketid
  6631. - operatetype
  6632. - orderqty
  6633. - ordertime
  6634. - pricemode
  6635. - tradedate
  6636. - validtype
  6637. type: object
  6638. order.QueryTradePositionRsp:
  6639. properties:
  6640. accountid:
  6641. description: 资金账户
  6642. type: integer
  6643. agreeunit:
  6644. description: 合约单位
  6645. type: number
  6646. averageprice:
  6647. description: 持仓均价
  6648. type: number
  6649. buyorsell:
  6650. description: 方向 - 0:买 1:卖
  6651. type: integer
  6652. closetotalqty:
  6653. description: 平仓总数量
  6654. type: integer
  6655. curholderamount:
  6656. description: 当前持仓总金额[商品币种]
  6657. type: number
  6658. curpositionqty:
  6659. description: 当前持仓总数量
  6660. type: integer
  6661. currencyid:
  6662. description: 报价货币ID
  6663. type: integer
  6664. curtdposition:
  6665. description: 期末今日头寸
  6666. type: integer
  6667. decimalplace:
  6668. description: 报价小数位
  6669. type: integer
  6670. enableqty:
  6671. description: 可用量
  6672. type: integer
  6673. fretdposition:
  6674. description: 冻结今日头寸
  6675. type: integer
  6676. frozenqty:
  6677. description: 持仓冻结数量
  6678. type: integer
  6679. goodscode:
  6680. description: 商品代码
  6681. type: string
  6682. goodsid:
  6683. description: 商品Id
  6684. type: integer
  6685. goodsname:
  6686. description: 商品名称
  6687. type: string
  6688. goodunit:
  6689. description: 报价单位
  6690. type: string
  6691. goodunitid:
  6692. description: 报价单位ID
  6693. type: integer
  6694. holderamount:
  6695. description: 期初持仓总金额[商品币种]
  6696. type: number
  6697. marketid:
  6698. description: 所属市场ID
  6699. type: integer
  6700. openreqqty:
  6701. description: 开仓申请数量(用于比较最大持仓数量)
  6702. type: integer
  6703. opentotalqty:
  6704. description: 开仓总数量
  6705. type: integer
  6706. otherfrozenqty:
  6707. description: 持仓其他冻结数量(交割冻结)
  6708. type: integer
  6709. positionqty:
  6710. description: 期初持仓数量
  6711. type: integer
  6712. tnqty:
  6713. description: T+N冻结总量
  6714. type: integer
  6715. tnusedqty:
  6716. description: T+N使用量(可以使用T+N的冻结数量)
  6717. type: integer
  6718. trademode:
  6719. description: 交易模式
  6720. type: integer
  6721. usedmargin:
  6722. description: 占用保证金[商品币种]
  6723. type: number
  6724. required:
  6725. - goodsid
  6726. type: object
  6727. quote.HistoryData:
  6728. properties:
  6729. c:
  6730. description: 收盘价
  6731. type: number
  6732. h:
  6733. description: 最高价
  6734. type: number
  6735. hv:
  6736. description: 持仓量
  6737. type: integer
  6738. l:
  6739. description: 最低价
  6740. type: number
  6741. o:
  6742. description: 开盘价
  6743. type: number
  6744. s:
  6745. description: 结算价,日线周期(包括)以上才有
  6746. type: number
  6747. ts:
  6748. description: 时间
  6749. type: string
  6750. tt:
  6751. description: 总金额
  6752. type: number
  6753. tv:
  6754. description: 总量
  6755. type: integer
  6756. type: object
  6757. quote.QueryTSDataRsp:
  6758. properties:
  6759. decimalPlace:
  6760. description: 小数位
  6761. type: integer
  6762. endTime:
  6763. description: 结束时间
  6764. type: string
  6765. goodsCode:
  6766. description: 商品代码
  6767. type: string
  6768. historyDatas:
  6769. description: 历史数据
  6770. items:
  6771. $ref: '#/definitions/quote.HistoryData'
  6772. type: array
  6773. preSettle:
  6774. description: 昨结
  6775. type: number
  6776. startTime:
  6777. description: 开始时间
  6778. type: string
  6779. tradeDate:
  6780. description: 交易日
  6781. type: string
  6782. type: object
  6783. szdz.QueryConvertLogRsp:
  6784. properties:
  6785. accountid:
  6786. description: 资金账户ID
  6787. type: integer
  6788. clientticket:
  6789. description: 客户端流水号
  6790. type: string
  6791. converttype:
  6792. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  6793. type: integer
  6794. createtime:
  6795. description: 记账时间
  6796. type: string
  6797. daymaxvalue:
  6798. description: 配置当日最大转入限制
  6799. type: number
  6800. daymaxvalue2:
  6801. description: 配置当日最大转入限制(转入)
  6802. type: number
  6803. goodscode:
  6804. description: 商品代码
  6805. type: string
  6806. goodsname:
  6807. description: 商品名称
  6808. type: string
  6809. handlestatus:
  6810. description: 处理状态
  6811. type: integer
  6812. innergoodsid:
  6813. description: 内部商品ID
  6814. type: integer
  6815. inratio:
  6816. description: 配置转入比值
  6817. type: integer
  6818. invalue:
  6819. description: 目标值
  6820. type: number
  6821. logid:
  6822. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6823. type: integer
  6824. mobile:
  6825. description: 手机号码(加密存储)
  6826. type: string
  6827. outergoodscode:
  6828. description: 外部商品代码[JD\PD]
  6829. type: string
  6830. outratio:
  6831. description: 配置转出比值
  6832. type: integer
  6833. outvalue:
  6834. description: 源值
  6835. type: number
  6836. pddecimalplace:
  6837. description: PD小数位
  6838. type: integer
  6839. qty:
  6840. description: 数量
  6841. type: string
  6842. remark:
  6843. description: 备注
  6844. type: string
  6845. sessionid:
  6846. description: 会话ID
  6847. type: integer
  6848. timemaxvalue:
  6849. description: 配置单次最大转入限制
  6850. type: number
  6851. timemaxvalue2:
  6852. description: 配置单次最大转入限制(转入)
  6853. type: number
  6854. timeminvalue:
  6855. description: 配置单次最小数量限制
  6856. type: number
  6857. timeminvalue2:
  6858. description: 配置单次最小数量限制(转入)
  6859. type: number
  6860. tradedate:
  6861. description: 交易日(yyyyMMdd)
  6862. type: string
  6863. userid:
  6864. description: 用户ID
  6865. type: integer
  6866. required:
  6867. - logid
  6868. type: object
  6869. szdz.QueryGoodsPickupRsp:
  6870. properties:
  6871. accountid:
  6872. description: 账户ID
  6873. type: integer
  6874. address:
  6875. description: 提货人详细地址
  6876. type: string
  6877. auditer:
  6878. description: 审核人
  6879. type: integer
  6880. audittime:
  6881. description: 审核时间
  6882. type: string
  6883. cardnum:
  6884. description: 提货人证件号码
  6885. type: string
  6886. cardtypeid:
  6887. description: 提货人证件类型
  6888. type: integer
  6889. checkremark:
  6890. description: 审核备注
  6891. type: string
  6892. goodscode:
  6893. description: 商品代码
  6894. type: string
  6895. goodsid:
  6896. description: 商品ID
  6897. type: integer
  6898. goodsname:
  6899. description: 商品名称
  6900. type: string
  6901. handlestatus:
  6902. description: 处理状态
  6903. type: integer
  6904. marketid:
  6905. description: 市场ID
  6906. type: integer
  6907. phonenum:
  6908. description: 提货人联系方式
  6909. type: string
  6910. qty:
  6911. description: 提货数量
  6912. type: number
  6913. recivername:
  6914. description: 提货人姓名
  6915. type: string
  6916. reqtime:
  6917. description: 更新时间
  6918. type: string
  6919. takemode:
  6920. description: 提货方式 - 2:自提 3:配送
  6921. type: integer
  6922. takeorderid:
  6923. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  6924. type: string
  6925. takeorderstatus:
  6926. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6927. type: integer
  6928. takeremark:
  6929. description: 提货备注
  6930. type: string
  6931. tradedate:
  6932. description: 交易日(yyyyMMdd)
  6933. type: string
  6934. userid:
  6935. description: 用户ID
  6936. type: integer
  6937. required:
  6938. - takeorderid
  6939. type: object
  6940. szdz.QueryRecieptOrderRsp:
  6941. properties:
  6942. accountName:
  6943. description: 所属账号名称(已脱敏)
  6944. type: string
  6945. accountid:
  6946. description: 资金账号
  6947. type: integer
  6948. buyorsell:
  6949. description: 方向 - 0:买 1:卖
  6950. type: integer
  6951. enableqty:
  6952. description: 可摘数量
  6953. type: integer
  6954. goodscode:
  6955. description: 商品代码
  6956. type: string
  6957. goodsid:
  6958. description: 商品ID
  6959. type: integer
  6960. goodsname:
  6961. description: 商品名称
  6962. type: string
  6963. orderid:
  6964. description: 委托单号
  6965. type: string
  6966. orderprice:
  6967. description: 委托价格
  6968. type: number
  6969. ordertime:
  6970. description: 委托时间
  6971. type: string
  6972. tradedate:
  6973. description: 交易日(yyyyMMdd)
  6974. type: string
  6975. required:
  6976. - ordertime
  6977. type: object
  6978. szdz.QuerySZDZTradePositionRsp:
  6979. properties:
  6980. accountid:
  6981. description: 账号Id
  6982. type: integer
  6983. agreeunit:
  6984. description: 合约单位
  6985. type: number
  6986. averageprice:
  6987. description: 持仓均价
  6988. type: number
  6989. buyorsell:
  6990. description: 方向 - 0:买 1:卖
  6991. type: integer
  6992. closetotalqty:
  6993. description: 平仓总数量
  6994. type: integer
  6995. curholderamount:
  6996. description: 当前持仓总金额
  6997. type: number
  6998. curpositionqty:
  6999. description: 当前持仓总数量
  7000. type: integer
  7001. currencyid:
  7002. description: 报价货币ID
  7003. type: integer
  7004. curtdposition:
  7005. description: 期末今日头寸
  7006. type: integer
  7007. decimalplace:
  7008. description: 报价小数位
  7009. type: integer
  7010. enableqty:
  7011. description: 可用量
  7012. type: integer
  7013. fretdposition:
  7014. description: 冻结今日头寸
  7015. type: integer
  7016. frozenqty:
  7017. description: 持仓冻结数量
  7018. type: integer
  7019. goodscode:
  7020. description: 商品代码(内部)
  7021. type: string
  7022. goodsid:
  7023. description: 商品Id
  7024. type: integer
  7025. goodsname:
  7026. description: 商品名称
  7027. type: string
  7028. goodunit:
  7029. description: 报价单位
  7030. type: string
  7031. goodunitid:
  7032. description: 报价单位ID
  7033. type: integer
  7034. holderamount:
  7035. description: 期初持仓总金额
  7036. type: number
  7037. marketid:
  7038. description: 市场ID
  7039. type: integer
  7040. openreqqty:
  7041. description: 开仓申请数量
  7042. type: integer
  7043. opentotalqty:
  7044. description: 开仓总数量
  7045. type: integer
  7046. otherfrozenqty:
  7047. description: 持仓其他冻结数量(交割冻结)
  7048. type: integer
  7049. positionqty:
  7050. description: 期初持仓数量
  7051. type: integer
  7052. szdz3freezqty:
  7053. description: 尚志大宗转换冻结总数量
  7054. type: integer
  7055. tnqty:
  7056. description: T+N冻结总量
  7057. type: integer
  7058. tnusedqty:
  7059. description: T+N使用量
  7060. type: integer
  7061. trademode:
  7062. description: 交易模式
  7063. type: integer
  7064. usedmargin:
  7065. description: 占用保证金
  7066. type: number
  7067. type: object
  7068. taaccount.QueryAmountLogRsp:
  7069. properties:
  7070. OPERATETYPENAME:
  7071. description: 资金操作类型名称
  7072. type: string
  7073. accountid:
  7074. description: 资金账户ID
  7075. type: integer
  7076. agoodscode:
  7077. description: 竞拍商品代码
  7078. type: string
  7079. agoodsname:
  7080. description: 竞拍商品名称
  7081. type: string
  7082. amount:
  7083. description: 资金金额
  7084. type: number
  7085. amountadjusttype:
  7086. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  7087. type: integer
  7088. autoid:
  7089. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  7090. type: integer
  7091. balance:
  7092. description: 期初余额
  7093. type: number
  7094. businesscode:
  7095. description: 业务编号
  7096. type: integer
  7097. createtime:
  7098. description: 发生时间
  7099. type: string
  7100. currencyid:
  7101. description: 币种ID
  7102. type: integer
  7103. currentbalance:
  7104. description: 期末余额(变动后金额)
  7105. type: number
  7106. dgoodscode:
  7107. description: 交割商品代码
  7108. type: string
  7109. dgoodsname:
  7110. description: 交割商品名称
  7111. type: string
  7112. goodscode:
  7113. description: 商品代码
  7114. type: string
  7115. goodsid:
  7116. description: 商品ID
  7117. type: integer
  7118. goodsname:
  7119. description: 商品名称
  7120. type: string
  7121. marketid:
  7122. description: 市场ID
  7123. type: integer
  7124. marketname:
  7125. description: 市场名称
  7126. type: string
  7127. moneyticket:
  7128. description: 资金流水号:银行端流水号
  7129. type: integer
  7130. operatetype:
  7131. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  7132. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  7133. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  7134. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  7135. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  7136. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  7137. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  7138. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  7139. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  7140. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  7141. type: integer
  7142. relationorderid:
  7143. description: 关联单号
  7144. type: string
  7145. remark:
  7146. description: 备注
  7147. type: string
  7148. trademode:
  7149. description: 交易模式
  7150. type: integer
  7151. required:
  7152. - accountid
  7153. - amount
  7154. - amountadjusttype
  7155. - autoid
  7156. - balance
  7157. - createtime
  7158. - currentbalance
  7159. - operatetype
  7160. type: object
  7161. taaccount.QueryHisAmountLogRsp:
  7162. properties:
  7163. OPERATETYPENAME:
  7164. description: 资金操作类型名称
  7165. type: string
  7166. accountid:
  7167. description: 资金账户ID
  7168. type: integer
  7169. agoodscode:
  7170. description: 竞拍商品代码
  7171. type: string
  7172. agoodsname:
  7173. description: 竞拍商品名称
  7174. type: string
  7175. amount:
  7176. description: 资金金额
  7177. type: number
  7178. amountadjusttype:
  7179. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  7180. type: integer
  7181. autoid:
  7182. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  7183. type: integer
  7184. balance:
  7185. description: 期初余额
  7186. type: number
  7187. businesscode:
  7188. description: 业务编号
  7189. type: integer
  7190. createtime:
  7191. description: 发生时间
  7192. type: string
  7193. currencyid:
  7194. description: 币种ID
  7195. type: integer
  7196. currentbalance:
  7197. description: 期末余额(变动后金额)
  7198. type: number
  7199. dgoodscode:
  7200. description: 交割商品代码
  7201. type: string
  7202. dgoodsname:
  7203. description: 交割商品名称
  7204. type: string
  7205. goodscode:
  7206. description: 商品代码
  7207. type: string
  7208. goodsid:
  7209. description: 商品ID
  7210. type: integer
  7211. goodsname:
  7212. description: 商品名称
  7213. type: string
  7214. histradedate:
  7215. description: 历史交易日
  7216. type: string
  7217. isvaliddata:
  7218. description: 是否有效 - 0:无效 1:有效
  7219. type: integer
  7220. marketid:
  7221. description: 市场ID
  7222. type: integer
  7223. marketname:
  7224. description: 市场名称
  7225. type: string
  7226. moneyticket:
  7227. description: 资金流水号:银行端流水号
  7228. type: integer
  7229. operatetype:
  7230. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  7231. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  7232. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  7233. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  7234. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  7235. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  7236. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  7237. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  7238. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  7239. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  7240. type: integer
  7241. relationorderid:
  7242. description: 关联单号
  7243. type: string
  7244. remark:
  7245. description: 备注
  7246. type: string
  7247. trademode:
  7248. description: 交易模式
  7249. type: integer
  7250. required:
  7251. - accountid
  7252. - amount
  7253. - amountadjusttype
  7254. - autoid
  7255. - balance
  7256. - createtime
  7257. - currentbalance
  7258. - histradedate
  7259. - operatetype
  7260. type: object
  7261. trade.QueryRecieptOrderRsp:
  7262. properties:
  7263. accountName:
  7264. description: 所属账号名称(已脱敏)
  7265. type: string
  7266. accountid:
  7267. description: 资金账号
  7268. type: integer
  7269. buyorsell:
  7270. description: 方向 - 0:买 1:卖
  7271. type: integer
  7272. enableqty:
  7273. description: 可摘数量
  7274. type: integer
  7275. goodscode:
  7276. description: 商品代码
  7277. type: string
  7278. goodsid:
  7279. description: 商品ID
  7280. type: integer
  7281. goodsname:
  7282. description: 商品名称
  7283. type: string
  7284. orderid:
  7285. description: 委托单号
  7286. type: string
  7287. orderprice:
  7288. description: 委托价格
  7289. type: number
  7290. ordertime:
  7291. description: 委托时间
  7292. type: string
  7293. tradedate:
  7294. description: 交易日(yyyyMMdd)
  7295. type: string
  7296. required:
  7297. - ordertime
  7298. type: object
  7299. info:
  7300. contact: {}
  7301. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  7302. termsOfService: http://muchinfo.cn
  7303. title: MTP2.0 查询服务 API
  7304. version: "1.0"
  7305. paths:
  7306. /CPTrade/QueryCPTradeMyBidInfos:
  7307. get:
  7308. parameters:
  7309. - description: 资金账户
  7310. in: query
  7311. name: accountid
  7312. required: true
  7313. type: integer
  7314. - description: 预售市场ID
  7315. in: query
  7316. name: marketid
  7317. type: integer
  7318. - description: 预售商品ID
  7319. in: query
  7320. name: goodsid
  7321. type: integer
  7322. produces:
  7323. - application/json
  7324. responses:
  7325. "200":
  7326. description: OK
  7327. schema:
  7328. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  7329. "500":
  7330. description: Internal Server Error
  7331. schema:
  7332. $ref: '#/definitions/app.Response'
  7333. security:
  7334. - ApiKeyAuth: []
  7335. summary: 查询产能预售我的出价信息
  7336. tags:
  7337. - 产能预售
  7338. /CPTrade/QueryCPTradeOrderDetail:
  7339. get:
  7340. parameters:
  7341. - description: 预售商品ID
  7342. in: query
  7343. name: goodsid
  7344. type: integer
  7345. - description: 预售市场ID
  7346. in: query
  7347. name: marketid
  7348. type: integer
  7349. - description: 预售商品ID列表 - 格式:1,2,3
  7350. in: query
  7351. name: goodsids
  7352. type: string
  7353. produces:
  7354. - application/json
  7355. responses:
  7356. "200":
  7357. description: OK
  7358. schema:
  7359. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  7360. "500":
  7361. description: Internal Server Error
  7362. schema:
  7363. $ref: '#/definitions/app.Response'
  7364. security:
  7365. - ApiKeyAuth: []
  7366. summary: 查询产能预售委托单信息
  7367. tags:
  7368. - 产能预售
  7369. /CPTrade/QueryMyCPTradeGoods:
  7370. get:
  7371. parameters:
  7372. - description: 资金账户
  7373. in: query
  7374. name: accountid
  7375. required: true
  7376. type: integer
  7377. produces:
  7378. - application/json
  7379. responses:
  7380. "200":
  7381. description: OK
  7382. schema:
  7383. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  7384. "500":
  7385. description: Internal Server Error
  7386. schema:
  7387. $ref: '#/definitions/app.Response'
  7388. security:
  7389. - ApiKeyAuth: []
  7390. summary: 查询我的预售信息
  7391. tags:
  7392. - 产能预售
  7393. /CPTrade/QueryPositionCancel:
  7394. get:
  7395. parameters:
  7396. - description: 账户ID
  7397. in: query
  7398. name: userid
  7399. required: true
  7400. type: integer
  7401. - description: 注销ID
  7402. in: query
  7403. name: cancelid
  7404. type: integer
  7405. - description: 资金账户ID
  7406. in: query
  7407. name: accountid
  7408. type: integer
  7409. produces:
  7410. - application/json
  7411. responses:
  7412. "200":
  7413. description: OK
  7414. schema:
  7415. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  7416. "500":
  7417. description: Internal Server Error
  7418. schema:
  7419. $ref: '#/definitions/app.Response'
  7420. security:
  7421. - ApiKeyAuth: []
  7422. summary: 查询远期订单注销申请信息
  7423. tags:
  7424. - 产能预售
  7425. /CPTrade/QueryPreasleApply:
  7426. get:
  7427. parameters:
  7428. - description: 账户ID
  7429. in: query
  7430. name: userid
  7431. required: true
  7432. type: integer
  7433. - description: 申请ID
  7434. in: query
  7435. name: applyid
  7436. type: integer
  7437. - description: 资金账户ID
  7438. in: query
  7439. name: accountid
  7440. type: integer
  7441. produces:
  7442. - application/json
  7443. responses:
  7444. "200":
  7445. description: OK
  7446. schema:
  7447. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  7448. "500":
  7449. description: Internal Server Error
  7450. schema:
  7451. $ref: '#/definitions/app.Response'
  7452. security:
  7453. - ApiKeyAuth: []
  7454. summary: 查询产能预售申请信息
  7455. tags:
  7456. - 产能预售
  7457. /CPTrade/QueryPresaleGoodsEx:
  7458. get:
  7459. parameters:
  7460. - description: 预售商品ID
  7461. in: query
  7462. name: goodsid
  7463. type: integer
  7464. - description: 预售市场ID
  7465. in: query
  7466. name: marketid
  7467. type: integer
  7468. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  7469. in: query
  7470. name: presalemode
  7471. type: integer
  7472. - description: 预售商品ID列表 - 格式:1,2,3
  7473. in: query
  7474. name: goodsids
  7475. type: string
  7476. - description: 预售商品代码
  7477. in: query
  7478. name: goodscode
  7479. type: string
  7480. produces:
  7481. - application/json
  7482. responses:
  7483. "200":
  7484. description: OK
  7485. schema:
  7486. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  7487. "500":
  7488. description: Internal Server Error
  7489. schema:
  7490. $ref: '#/definitions/app.Response'
  7491. security:
  7492. - ApiKeyAuth: []
  7493. summary: 查询产能预售商品扩展信息
  7494. tags:
  7495. - 产能预售
  7496. /CPTrade/QueryUserGoodsData:
  7497. get:
  7498. parameters:
  7499. - description: 资金账户ID
  7500. in: query
  7501. name: accountid
  7502. required: true
  7503. type: integer
  7504. produces:
  7505. - application/json
  7506. responses:
  7507. "200":
  7508. description: OK
  7509. schema:
  7510. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  7511. "500":
  7512. description: Internal Server Error
  7513. schema:
  7514. $ref: '#/definitions/app.Response'
  7515. security:
  7516. - ApiKeyAuth: []
  7517. summary: 查询远期订单信息
  7518. tags:
  7519. - 产能预售
  7520. /Common/GetAllEnums:
  7521. get:
  7522. produces:
  7523. - application/json
  7524. responses:
  7525. "200":
  7526. description: OK
  7527. schema:
  7528. $ref: '#/definitions/models.Enumdicitem'
  7529. "500":
  7530. description: Internal Server Error
  7531. schema:
  7532. $ref: '#/definitions/app.Response'
  7533. summary: 获取所有枚举信息
  7534. tags:
  7535. - 通用服务
  7536. /Common/GetServerTime:
  7537. get:
  7538. produces:
  7539. - application/json
  7540. responses:
  7541. "200":
  7542. description: OK
  7543. schema:
  7544. $ref: '#/definitions/app.Response'
  7545. "500":
  7546. description: Internal Server Error
  7547. schema:
  7548. $ref: '#/definitions/app.Response'
  7549. summary: 获取服务器时间
  7550. tags:
  7551. - 通用服务
  7552. /Common/NoticeReaded:
  7553. post:
  7554. parameters:
  7555. - description: 登录账号
  7556. in: query
  7557. name: loginID
  7558. required: true
  7559. type: integer
  7560. - description: 通知公告ID
  7561. in: query
  7562. name: noticeID
  7563. required: true
  7564. type: integer
  7565. produces:
  7566. - application/json
  7567. responses:
  7568. "200":
  7569. description: OK
  7570. schema:
  7571. $ref: '#/definitions/app.Response'
  7572. "500":
  7573. description: Internal Server Error
  7574. schema:
  7575. $ref: '#/definitions/app.Response'
  7576. security:
  7577. - ApiKeyAuth: []
  7578. summary: 通知公告设置已读请求
  7579. tags:
  7580. - 通用服务
  7581. /Common/QueryImageConfigs:
  7582. get:
  7583. parameters:
  7584. - description: 类型 - 1:App首页轮播 2:我的
  7585. in: query
  7586. name: imageType
  7587. type: integer
  7588. produces:
  7589. - application/json
  7590. responses:
  7591. "200":
  7592. description: OK
  7593. schema:
  7594. $ref: '#/definitions/models.Szdz2imageconfig'
  7595. "500":
  7596. description: Internal Server Error
  7597. schema:
  7598. $ref: '#/definitions/app.Response'
  7599. summary: 查询轮播图配置信息
  7600. tags:
  7601. - 通用服务
  7602. /Common/QueryNotice:
  7603. get:
  7604. parameters:
  7605. - description: 页码
  7606. in: query
  7607. name: page
  7608. type: integer
  7609. - description: 每页条数
  7610. in: query
  7611. name: pagesize
  7612. type: integer
  7613. - description: 登录账号
  7614. in: query
  7615. name: loginID
  7616. required: true
  7617. type: integer
  7618. - description: 消息类型 - 1:公告通知 2:系统消息
  7619. in: query
  7620. name: msgType
  7621. type: integer
  7622. - description: 是否只获取未读信息
  7623. in: query
  7624. name: onlyUnRead
  7625. type: boolean
  7626. produces:
  7627. - application/json
  7628. responses:
  7629. "200":
  7630. description: OK
  7631. schema:
  7632. $ref: '#/definitions/common.QueryNoticeRsp'
  7633. "500":
  7634. description: Internal Server Error
  7635. schema:
  7636. $ref: '#/definitions/app.Response'
  7637. security:
  7638. - ApiKeyAuth: []
  7639. summary: 通知公告系统消息查询
  7640. tags:
  7641. - 通用服务
  7642. /Common/QueryProvincesAndCities:
  7643. get:
  7644. parameters:
  7645. - description: 省ID
  7646. in: query
  7647. name: provinceID
  7648. type: integer
  7649. produces:
  7650. - application/json
  7651. responses:
  7652. "200":
  7653. description: OK
  7654. schema:
  7655. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  7656. "500":
  7657. description: Internal Server Error
  7658. schema:
  7659. $ref: '#/definitions/app.Response'
  7660. summary: 查询省市信息(不包括区)
  7661. tags:
  7662. - 通用服务
  7663. /Common/QueryTableDefine:
  7664. get:
  7665. parameters:
  7666. - description: 表key
  7667. in: query
  7668. name: tableKey
  7669. type: string
  7670. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  7671. in: query
  7672. name: tableType
  7673. type: integer
  7674. produces:
  7675. - application/json
  7676. responses:
  7677. "200":
  7678. description: OK
  7679. schema:
  7680. $ref: '#/definitions/common.QueryTableDefineRsp'
  7681. "500":
  7682. description: Internal Server Error
  7683. schema:
  7684. $ref: '#/definitions/app.Response'
  7685. summary: 查询交易端列表头信息
  7686. tags:
  7687. - 通用服务
  7688. /Common/QueryTraderMenu:
  7689. get:
  7690. parameters:
  7691. - description: 登录账号
  7692. in: query
  7693. name: loginid
  7694. required: true
  7695. type: integer
  7696. produces:
  7697. - application/json
  7698. responses:
  7699. "200":
  7700. description: OK
  7701. schema:
  7702. $ref: '#/definitions/common.QueryTraderMenuRsp'
  7703. "500":
  7704. description: Internal Server Error
  7705. schema:
  7706. $ref: '#/definitions/app.Response'
  7707. summary: 查询交易端菜单
  7708. tags:
  7709. - 通用服务
  7710. /Delivery/QueryDeliveryRelation:
  7711. get:
  7712. parameters:
  7713. - description: 商品ID
  7714. in: query
  7715. name: goodsid
  7716. type: integer
  7717. - description: 品种ID
  7718. in: query
  7719. name: deliverygoodsid
  7720. type: integer
  7721. - description: 市场ID
  7722. in: query
  7723. name: marketid
  7724. type: integer
  7725. produces:
  7726. - application/json
  7727. responses:
  7728. "200":
  7729. description: OK
  7730. schema:
  7731. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  7732. "500":
  7733. description: Internal Server Error
  7734. schema:
  7735. $ref: '#/definitions/app.Response'
  7736. security:
  7737. - ApiKeyAuth: []
  7738. summary: 查询商品交割关系表
  7739. tags:
  7740. - 交割服务
  7741. /Ermcp/QueryAvaildGoodsGroup:
  7742. get:
  7743. parameters:
  7744. - description: 所属机构ID
  7745. in: query
  7746. name: userid
  7747. required: true
  7748. type: integer
  7749. produces:
  7750. - application/json
  7751. responses:
  7752. "200":
  7753. description: OK
  7754. schema:
  7755. items:
  7756. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  7757. type: array
  7758. "500":
  7759. description: Internal Server Error
  7760. schema:
  7761. $ref: '#/definitions/app.Response'
  7762. security:
  7763. - ApiKeyAuth: []
  7764. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  7765. tags:
  7766. - 企业风险管理(app)
  7767. /Ermcp/QueryBusinessDj:
  7768. get:
  7769. parameters:
  7770. - description: 用户ID
  7771. in: query
  7772. name: UserId
  7773. required: true
  7774. type: integer
  7775. - description: 现货合同ID, 不填则查所有
  7776. in: query
  7777. name: relatedid
  7778. type: string
  7779. produces:
  7780. - application/json
  7781. responses:
  7782. "200":
  7783. description: OK
  7784. schema:
  7785. items:
  7786. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  7787. type: array
  7788. "500":
  7789. description: Internal Server Error
  7790. schema:
  7791. $ref: '#/definitions/app.Response'
  7792. security:
  7793. - ApiKeyAuth: []
  7794. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  7795. tags:
  7796. - 企业风险管理(app)
  7797. /Ermcp/QueryBusinessFp:
  7798. get:
  7799. parameters:
  7800. - description: 用户ID
  7801. in: query
  7802. name: UserId
  7803. required: true
  7804. type: integer
  7805. - description: 现货合同ID, 不填则查所有
  7806. in: query
  7807. name: relatedid
  7808. type: string
  7809. produces:
  7810. - application/json
  7811. responses:
  7812. "200":
  7813. description: OK
  7814. schema:
  7815. items:
  7816. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  7817. type: array
  7818. "500":
  7819. description: Internal Server Error
  7820. schema:
  7821. $ref: '#/definitions/app.Response'
  7822. security:
  7823. - ApiKeyAuth: []
  7824. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  7825. tags:
  7826. - 企业风险管理(app)
  7827. /Ermcp/QueryBusinessJs:
  7828. get:
  7829. parameters:
  7830. - description: 用户ID
  7831. in: query
  7832. name: UserId
  7833. required: true
  7834. type: integer
  7835. - description: 现货合同ID, 不填则查所有
  7836. in: query
  7837. name: relatedid
  7838. type: string
  7839. produces:
  7840. - application/json
  7841. responses:
  7842. "200":
  7843. description: OK
  7844. schema:
  7845. items:
  7846. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  7847. type: array
  7848. "500":
  7849. description: Internal Server Error
  7850. schema:
  7851. $ref: '#/definitions/app.Response'
  7852. security:
  7853. - ApiKeyAuth: []
  7854. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  7855. tags:
  7856. - 企业风险管理(app)
  7857. /Ermcp/QueryBusinessKx:
  7858. get:
  7859. parameters:
  7860. - description: 用户ID
  7861. in: query
  7862. name: UserId
  7863. required: true
  7864. type: integer
  7865. - description: 现货合同ID, 不填则查所有
  7866. in: query
  7867. name: relatedid
  7868. type: string
  7869. produces:
  7870. - application/json
  7871. responses:
  7872. "200":
  7873. description: OK
  7874. schema:
  7875. items:
  7876. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  7877. type: array
  7878. "500":
  7879. description: Internal Server Error
  7880. schema:
  7881. $ref: '#/definitions/app.Response'
  7882. security:
  7883. - ApiKeyAuth: []
  7884. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  7885. tags:
  7886. - 企业风险管理(app)
  7887. /Ermcp/QueryChangeLog:
  7888. get:
  7889. parameters:
  7890. - description: 用户ID
  7891. in: query
  7892. name: RelatedId
  7893. required: true
  7894. type: string
  7895. produces:
  7896. - application/json
  7897. responses:
  7898. "200":
  7899. description: OK
  7900. schema:
  7901. items:
  7902. $ref: '#/definitions/ermcp.QryOPLogRsp'
  7903. type: array
  7904. "500":
  7905. description: Internal Server Error
  7906. schema:
  7907. $ref: '#/definitions/app.Response'
  7908. security:
  7909. - ApiKeyAuth: []
  7910. summary: 查询变更记录
  7911. tags:
  7912. - 企业风险管理(app)
  7913. /Ermcp/QueryContract:
  7914. get:
  7915. parameters:
  7916. - description: 用户ID
  7917. in: query
  7918. name: userId
  7919. required: true
  7920. type: integer
  7921. - description: 合同类型 1-采购, -1-销售
  7922. in: query
  7923. name: contracttype
  7924. required: true
  7925. type: integer
  7926. - description: 查询类型 1-全部 2-待点价 3-履约结算
  7927. in: query
  7928. name: querytype
  7929. required: true
  7930. type: integer
  7931. produces:
  7932. - application/json
  7933. responses:
  7934. "200":
  7935. description: OK
  7936. schema:
  7937. items:
  7938. $ref: '#/definitions/ermcp.QryErmcpRsp'
  7939. type: array
  7940. "500":
  7941. description: Internal Server Error
  7942. schema:
  7943. $ref: '#/definitions/app.Response'
  7944. security:
  7945. - ApiKeyAuth: []
  7946. summary: 查询合同(采购和销售)
  7947. tags:
  7948. - 企业风险管理(app)
  7949. /Ermcp/QueryExposureDetail:
  7950. get:
  7951. parameters:
  7952. - description: 所属机构ID
  7953. in: query
  7954. name: areaUserId
  7955. required: true
  7956. type: integer
  7957. - description: 套保商品
  7958. in: query
  7959. name: middleGoodsId
  7960. required: true
  7961. type: integer
  7962. produces:
  7963. - application/json
  7964. responses:
  7965. "200":
  7966. description: OK
  7967. schema:
  7968. items:
  7969. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  7970. type: array
  7971. "500":
  7972. description: Internal Server Error
  7973. schema:
  7974. $ref: '#/definitions/app.Response'
  7975. security:
  7976. - ApiKeyAuth: []
  7977. summary: 查询敞口现货明细
  7978. tags:
  7979. - 企业风险管理(app)
  7980. /Ermcp/QueryExposureHedgePosition:
  7981. get:
  7982. parameters:
  7983. - description: 所属机构ID
  7984. in: query
  7985. name: areaUserId
  7986. required: true
  7987. type: integer
  7988. produces:
  7989. - application/json
  7990. responses:
  7991. "200":
  7992. description: OK
  7993. schema:
  7994. items:
  7995. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  7996. type: array
  7997. "500":
  7998. description: Internal Server Error
  7999. schema:
  8000. $ref: '#/definitions/app.Response'
  8001. security:
  8002. - ApiKeyAuth: []
  8003. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  8004. tags:
  8005. - 企业风险管理(app)
  8006. /Ermcp/QueryExposureHedgePositionDetail:
  8007. get:
  8008. parameters:
  8009. - description: 所属机构ID
  8010. in: query
  8011. name: areaUserId
  8012. required: true
  8013. type: integer
  8014. - description: 商品id
  8015. in: query
  8016. name: goodsId
  8017. required: true
  8018. type: integer
  8019. produces:
  8020. - application/json
  8021. responses:
  8022. "200":
  8023. description: OK
  8024. schema:
  8025. items:
  8026. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  8027. type: array
  8028. "500":
  8029. description: Internal Server Error
  8030. schema:
  8031. $ref: '#/definitions/app.Response'
  8032. security:
  8033. - ApiKeyAuth: []
  8034. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  8035. tags:
  8036. - 企业风险管理(app)
  8037. /Ermcp/QueryExposureSpot:
  8038. get:
  8039. parameters:
  8040. - description: 所属机构ID
  8041. in: query
  8042. name: areaUserId
  8043. required: true
  8044. type: integer
  8045. produces:
  8046. - application/json
  8047. responses:
  8048. "200":
  8049. description: OK
  8050. schema:
  8051. items:
  8052. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  8053. type: array
  8054. "500":
  8055. description: Internal Server Error
  8056. schema:
  8057. $ref: '#/definitions/app.Response'
  8058. security:
  8059. - ApiKeyAuth: []
  8060. summary: 查询敞口现货头寸(敞口/现货头寸)
  8061. tags:
  8062. - 企业风险管理(app)
  8063. /Ermcp/QueryExposureSpotDetail:
  8064. get:
  8065. parameters:
  8066. - description: 所属机构ID
  8067. in: query
  8068. name: areaUserId
  8069. required: true
  8070. type: integer
  8071. - description: 现货品种ID
  8072. in: query
  8073. name: wrstandardId
  8074. required: true
  8075. type: integer
  8076. produces:
  8077. - application/json
  8078. responses:
  8079. "200":
  8080. description: OK
  8081. schema:
  8082. items:
  8083. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  8084. type: array
  8085. "500":
  8086. description: Internal Server Error
  8087. schema:
  8088. $ref: '#/definitions/app.Response'
  8089. security:
  8090. - ApiKeyAuth: []
  8091. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  8092. tags:
  8093. - 企业风险管理(app)
  8094. /Ermcp/QueryGGConvertConfig:
  8095. get:
  8096. parameters:
  8097. - description: 品种id(不填则查所有)
  8098. in: query
  8099. name: goodsgroupid
  8100. type: integer
  8101. produces:
  8102. - application/json
  8103. responses:
  8104. "200":
  8105. description: OK
  8106. schema:
  8107. items:
  8108. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  8109. type: array
  8110. "500":
  8111. description: Internal Server Error
  8112. schema:
  8113. $ref: '#/definitions/app.Response'
  8114. security:
  8115. - ApiKeyAuth: []
  8116. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  8117. tags:
  8118. - 企业风险管理(app)
  8119. /Ermcp/QueryHedgePlan:
  8120. get:
  8121. parameters:
  8122. - description: 用户ID
  8123. in: query
  8124. name: userId
  8125. required: true
  8126. type: integer
  8127. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8128. in: query
  8129. name: HedgePlanStatus
  8130. required: true
  8131. type: string
  8132. produces:
  8133. - application/json
  8134. responses:
  8135. "200":
  8136. description: OK
  8137. schema:
  8138. items:
  8139. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  8140. type: array
  8141. "500":
  8142. description: Internal Server Error
  8143. schema:
  8144. $ref: '#/definitions/app.Response'
  8145. security:
  8146. - ApiKeyAuth: []
  8147. summary: 查询套保计划
  8148. tags:
  8149. - 企业风险管理(app)
  8150. /Ermcp/QueryHisExposure:
  8151. get:
  8152. parameters:
  8153. - description: 所属机构ID
  8154. in: query
  8155. name: areaUserId
  8156. required: true
  8157. type: integer
  8158. - description: 最近多少条记录, -1:为查全部
  8159. in: query
  8160. name: lastNum
  8161. required: true
  8162. type: integer
  8163. produces:
  8164. - application/json
  8165. responses:
  8166. "200":
  8167. description: OK
  8168. schema:
  8169. items:
  8170. $ref: '#/definitions/ermcp.HisExposureRsp'
  8171. type: array
  8172. "500":
  8173. description: Internal Server Error
  8174. schema:
  8175. $ref: '#/definitions/app.Response'
  8176. security:
  8177. - ApiKeyAuth: []
  8178. summary: 查询历史敞口(菜单:敞口/历史敞口)
  8179. tags:
  8180. - 企业风险管理(app)
  8181. /Ermcp/QueryMiddleGoods:
  8182. get:
  8183. parameters:
  8184. - description: 所属机构ID
  8185. in: query
  8186. name: userid
  8187. required: true
  8188. type: integer
  8189. - description: 状态 0-停用 1-正常
  8190. in: query
  8191. name: status
  8192. required: true
  8193. type: integer
  8194. produces:
  8195. - application/json
  8196. responses:
  8197. "200":
  8198. description: OK
  8199. schema:
  8200. items:
  8201. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  8202. type: array
  8203. "500":
  8204. description: Internal Server Error
  8205. schema:
  8206. $ref: '#/definitions/app.Response'
  8207. security:
  8208. - ApiKeyAuth: []
  8209. summary: 查询套保品种(菜单:套保品种)
  8210. tags:
  8211. - 企业风险管理(app)
  8212. /Ermcp/QueryMiddleGoodsChangeLog:
  8213. get:
  8214. parameters:
  8215. - description: 所属机构ID
  8216. in: query
  8217. name: userid
  8218. required: true
  8219. type: integer
  8220. - description: 套保品种id
  8221. in: query
  8222. name: middlegoodsid
  8223. required: true
  8224. type: integer
  8225. produces:
  8226. - application/json
  8227. responses:
  8228. "200":
  8229. description: OK
  8230. schema:
  8231. items:
  8232. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  8233. type: array
  8234. "500":
  8235. description: Internal Server Error
  8236. schema:
  8237. $ref: '#/definitions/app.Response'
  8238. security:
  8239. - ApiKeyAuth: []
  8240. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  8241. tags:
  8242. - 企业风险管理(app)
  8243. /Ermcp/QueryMiddleGoodsDetail:
  8244. get:
  8245. parameters:
  8246. - description: 所属机构ID
  8247. in: query
  8248. name: userid
  8249. required: true
  8250. type: integer
  8251. - description: 套保品种id
  8252. in: query
  8253. name: middlegoodsid
  8254. required: true
  8255. type: integer
  8256. produces:
  8257. - application/json
  8258. responses:
  8259. "200":
  8260. description: OK
  8261. schema:
  8262. items:
  8263. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  8264. type: array
  8265. "500":
  8266. description: Internal Server Error
  8267. schema:
  8268. $ref: '#/definitions/app.Response'
  8269. security:
  8270. - ApiKeyAuth: []
  8271. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  8272. tags:
  8273. - 企业风险管理(app)
  8274. /Ermcp/QueryRealtimeExposure:
  8275. get:
  8276. parameters:
  8277. - description: 所属机构ID
  8278. in: query
  8279. name: AreaUserID
  8280. required: true
  8281. type: integer
  8282. produces:
  8283. - application/json
  8284. responses:
  8285. "200":
  8286. description: OK
  8287. schema:
  8288. items:
  8289. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  8290. type: array
  8291. "500":
  8292. description: Internal Server Error
  8293. schema:
  8294. $ref: '#/definitions/app.Response'
  8295. security:
  8296. - ApiKeyAuth: []
  8297. summary: 查询实时敞口
  8298. tags:
  8299. - 企业风险管理(app)
  8300. /Ermcp/QueryRealtimeExposurePosition:
  8301. get:
  8302. parameters:
  8303. - description: 所属机构ID
  8304. in: query
  8305. name: areaUserId
  8306. required: true
  8307. type: integer
  8308. - description: 套保商品ID
  8309. in: query
  8310. name: middleGoodsId
  8311. required: true
  8312. type: integer
  8313. produces:
  8314. - application/json
  8315. responses:
  8316. "200":
  8317. description: OK
  8318. schema:
  8319. items:
  8320. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  8321. type: array
  8322. "500":
  8323. description: Internal Server Error
  8324. schema:
  8325. $ref: '#/definitions/app.Response'
  8326. security:
  8327. - ApiKeyAuth: []
  8328. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  8329. tags:
  8330. - 企业风险管理(app)
  8331. /Ermcp/QuerySpotContract:
  8332. get:
  8333. parameters:
  8334. - description: 用户ID
  8335. in: query
  8336. name: userId
  8337. required: true
  8338. type: integer
  8339. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  8340. in: query
  8341. name: QueryType
  8342. required: true
  8343. type: integer
  8344. produces:
  8345. - application/json
  8346. responses:
  8347. "200":
  8348. description: OK
  8349. schema:
  8350. items:
  8351. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  8352. type: array
  8353. "500":
  8354. description: Internal Server Error
  8355. schema:
  8356. $ref: '#/definitions/app.Response'
  8357. security:
  8358. - ApiKeyAuth: []
  8359. summary: 查询现货合同(对应现货合同菜单)
  8360. tags:
  8361. - 企业风险管理(app)
  8362. /Ermcp/QueryUserInfo:
  8363. get:
  8364. parameters:
  8365. - description: 所属机构用户ID
  8366. in: query
  8367. name: MemberUserID
  8368. required: true
  8369. type: integer
  8370. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  8371. in: query
  8372. name: queryType
  8373. required: true
  8374. type: integer
  8375. produces:
  8376. - application/json
  8377. responses:
  8378. "200":
  8379. description: OK
  8380. schema:
  8381. items:
  8382. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  8383. type: array
  8384. "500":
  8385. description: Internal Server Error
  8386. schema:
  8387. $ref: '#/definitions/app.Response'
  8388. security:
  8389. - ApiKeyAuth: []
  8390. summary: 查询客户资料
  8391. tags:
  8392. - 企业风险管理(app)
  8393. /Ermcp/QueryWrStandard:
  8394. get:
  8395. parameters:
  8396. - description: 所属机构ID
  8397. in: query
  8398. name: userid
  8399. required: true
  8400. type: integer
  8401. - description: 状态 0-停用 1-正常
  8402. in: query
  8403. name: status
  8404. required: true
  8405. type: integer
  8406. produces:
  8407. - application/json
  8408. responses:
  8409. "200":
  8410. description: OK
  8411. schema:
  8412. items:
  8413. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  8414. type: array
  8415. "500":
  8416. description: Internal Server Error
  8417. schema:
  8418. $ref: '#/definitions/app.Response'
  8419. security:
  8420. - ApiKeyAuth: []
  8421. summary: 查询现货商品
  8422. tags:
  8423. - 企业风险管理(app)
  8424. /Ermcp/QueryWrStandardDetail:
  8425. get:
  8426. parameters:
  8427. - description: 所属机构ID
  8428. in: query
  8429. name: userid
  8430. required: true
  8431. type: integer
  8432. - description: 现货商品ID
  8433. in: query
  8434. name: wrstandardid
  8435. required: true
  8436. type: integer
  8437. produces:
  8438. - application/json
  8439. responses:
  8440. "200":
  8441. description: OK
  8442. schema:
  8443. items:
  8444. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  8445. type: array
  8446. "500":
  8447. description: Internal Server Error
  8448. schema:
  8449. $ref: '#/definitions/app.Response'
  8450. security:
  8451. - ApiKeyAuth: []
  8452. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  8453. tags:
  8454. - 企业风险管理(app)
  8455. /Erms2/QueryArbitrageStrategy:
  8456. get:
  8457. parameters:
  8458. - description: 账户ID
  8459. in: query
  8460. name: userid
  8461. required: true
  8462. type: integer
  8463. - description: 商品组ID(品种ID)
  8464. in: query
  8465. name: goodsgroupid
  8466. type: string
  8467. produces:
  8468. - application/json
  8469. responses:
  8470. "200":
  8471. description: OK
  8472. schema:
  8473. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  8474. "500":
  8475. description: Internal Server Error
  8476. schema:
  8477. $ref: '#/definitions/app.Response'
  8478. security:
  8479. - ApiKeyAuth: []
  8480. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  8481. tags:
  8482. - 风险管理
  8483. /Erms2/QueryInnerTradeDetail:
  8484. get:
  8485. parameters:
  8486. - description: 资金账户
  8487. in: query
  8488. name: accountid
  8489. required: true
  8490. type: integer
  8491. produces:
  8492. - application/json
  8493. responses:
  8494. "200":
  8495. description: OK
  8496. schema:
  8497. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  8498. "500":
  8499. description: Internal Server Error
  8500. schema:
  8501. $ref: '#/definitions/app.Response'
  8502. security:
  8503. - ApiKeyAuth: []
  8504. summary: 查询内部成交单信息
  8505. tags:
  8506. - 风险管理
  8507. /Erms2/QuerySpotContract:
  8508. get:
  8509. parameters:
  8510. - description: 策略申请ID
  8511. in: query
  8512. name: asapplyid
  8513. required: true
  8514. type: integer
  8515. - description: 现货合同ID
  8516. in: query
  8517. name: spotcontractid
  8518. type: integer
  8519. produces:
  8520. - application/json
  8521. responses:
  8522. "200":
  8523. description: OK
  8524. schema:
  8525. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  8526. "500":
  8527. description: Internal Server Error
  8528. schema:
  8529. $ref: '#/definitions/app.Response'
  8530. security:
  8531. - ApiKeyAuth: []
  8532. summary: 查询现货合同表信息(指定策略ID、未结束的)
  8533. tags:
  8534. - 风险管理
  8535. /Erms3/AddErms2ASApply:
  8536. post:
  8537. parameters:
  8538. - description: 申请参数
  8539. in: body
  8540. name: jsonBody
  8541. required: true
  8542. schema:
  8543. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  8544. produces:
  8545. - application/json
  8546. responses:
  8547. "200":
  8548. description: OK
  8549. schema:
  8550. $ref: '#/definitions/app.Response'
  8551. "500":
  8552. description: Internal Server Error
  8553. schema:
  8554. $ref: '#/definitions/app.Response'
  8555. security:
  8556. - ApiKeyAuth: []
  8557. summary: 新增期现套利业务申请
  8558. tags:
  8559. - 风险管理v3
  8560. /Erms3/AddErms2SpotTradeApply:
  8561. post:
  8562. parameters:
  8563. - description: 申请参数
  8564. in: body
  8565. name: jsonBody
  8566. required: true
  8567. schema:
  8568. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  8569. produces:
  8570. - application/json
  8571. responses:
  8572. "200":
  8573. description: OK
  8574. schema:
  8575. $ref: '#/definitions/app.Response'
  8576. "500":
  8577. description: Internal Server Error
  8578. schema:
  8579. $ref: '#/definitions/app.Response'
  8580. security:
  8581. - ApiKeyAuth: []
  8582. summary: 新增现货贸易业务申请
  8583. tags:
  8584. - 风险管理v3
  8585. /Erms3/AddSpotContractApply:
  8586. post:
  8587. parameters:
  8588. - description: 申请参数
  8589. in: body
  8590. name: jsonBody
  8591. required: true
  8592. schema:
  8593. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  8594. produces:
  8595. - application/json
  8596. responses:
  8597. "200":
  8598. description: OK
  8599. schema:
  8600. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  8601. "500":
  8602. description: Internal Server Error
  8603. schema:
  8604. $ref: '#/definitions/app.Response'
  8605. security:
  8606. - ApiKeyAuth: []
  8607. summary: 新增现货合同申请
  8608. tags:
  8609. - 风险管理v3
  8610. /Erms3/AddUserInfoApply:
  8611. post:
  8612. parameters:
  8613. - description: 申请参数
  8614. in: body
  8615. name: jsonBody
  8616. required: true
  8617. schema:
  8618. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  8619. produces:
  8620. - application/json
  8621. responses:
  8622. "200":
  8623. description: OK
  8624. schema:
  8625. $ref: '#/definitions/app.Response'
  8626. "500":
  8627. description: Internal Server Error
  8628. schema:
  8629. $ref: '#/definitions/app.Response'
  8630. security:
  8631. - ApiKeyAuth: []
  8632. summary: 新增客户申请
  8633. tags:
  8634. - 风险管理v3
  8635. /Erms3/QueryBusinessInfo:
  8636. get:
  8637. parameters:
  8638. - description: 资金账号ID列表,用逗号分隔
  8639. in: query
  8640. name: accountids
  8641. required: true
  8642. type: string
  8643. - description: 状态,0为未结束 1为已结束
  8644. in: query
  8645. name: status
  8646. required: true
  8647. type: integer
  8648. produces:
  8649. - application/json
  8650. responses:
  8651. "200":
  8652. description: OK
  8653. schema:
  8654. items:
  8655. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  8656. type: array
  8657. "500":
  8658. description: Internal Server Error
  8659. schema:
  8660. $ref: '#/definitions/app.Response'
  8661. security:
  8662. - ApiKeyAuth: []
  8663. summary: 查询业务表单数据
  8664. tags:
  8665. - 风险管理v3
  8666. /Erms3/QueryPendingAuditContract:
  8667. get:
  8668. parameters:
  8669. - description: 资金账号ID列表,逗号隔开
  8670. in: query
  8671. name: accountids
  8672. required: true
  8673. type: string
  8674. - description: 合同类型 1-采购 -1-销售
  8675. in: query
  8676. name: contracttype
  8677. required: true
  8678. type: integer
  8679. - description: 合同模式 1-普通 2-回购
  8680. in: query
  8681. name: contractmode
  8682. required: true
  8683. type: integer
  8684. produces:
  8685. - application/json
  8686. responses:
  8687. "200":
  8688. description: OK
  8689. schema:
  8690. items:
  8691. $ref: '#/definitions/erms3.QryAuditContractRsp'
  8692. type: array
  8693. "500":
  8694. description: Internal Server Error
  8695. schema:
  8696. $ref: '#/definitions/app.Response'
  8697. security:
  8698. - ApiKeyAuth: []
  8699. summary: 查询待审核合同
  8700. tags:
  8701. - 风险管理v3
  8702. /Erms3/QueryPendingBusiness:
  8703. get:
  8704. parameters:
  8705. - description: 资金账号ID列表,逗号隔开
  8706. in: query
  8707. name: accountids
  8708. required: true
  8709. type: string
  8710. produces:
  8711. - application/json
  8712. responses:
  8713. "200":
  8714. description: OK
  8715. schema:
  8716. items:
  8717. $ref: '#/definitions/erms3.QryPendingBizRsp'
  8718. type: array
  8719. "500":
  8720. description: Internal Server Error
  8721. schema:
  8722. $ref: '#/definitions/app.Response'
  8723. security:
  8724. - ApiKeyAuth: []
  8725. summary: 查询待审核基差贸易业务
  8726. tags:
  8727. - 风险管理v3
  8728. /Erms3/QuerySpotContractAppleForm:
  8729. get:
  8730. parameters:
  8731. - description: 登录账号
  8732. in: query
  8733. name: loginID
  8734. required: true
  8735. type: integer
  8736. produces:
  8737. - application/json
  8738. responses:
  8739. "200":
  8740. description: OK
  8741. schema:
  8742. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  8743. "500":
  8744. description: Internal Server Error
  8745. schema:
  8746. $ref: '#/definitions/app.Response'
  8747. security:
  8748. - ApiKeyAuth: []
  8749. summary: 查询合同申请表单数据
  8750. tags:
  8751. - 风险管理v3
  8752. /Erms3/QuerySpotContractDetail:
  8753. get:
  8754. parameters:
  8755. - description: 资金账号ID列表,用逗号分隔
  8756. in: query
  8757. name: accountids
  8758. required: true
  8759. type: string
  8760. - description: 合同类型,1为采购合同 -1为销售合同
  8761. in: query
  8762. name: contracttype
  8763. required: true
  8764. type: integer
  8765. - description: 合同模式,1为普通合同 2为回购销售合同
  8766. in: query
  8767. name: contractmode
  8768. required: true
  8769. type: integer
  8770. - description: 状态,0为履约中 1为已完成
  8771. in: query
  8772. name: status
  8773. required: true
  8774. type: integer
  8775. produces:
  8776. - application/json
  8777. responses:
  8778. "200":
  8779. description: OK
  8780. schema:
  8781. items:
  8782. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  8783. type: array
  8784. "500":
  8785. description: Internal Server Error
  8786. schema:
  8787. $ref: '#/definitions/app.Response'
  8788. security:
  8789. - ApiKeyAuth: []
  8790. summary: 查询合同详细信息
  8791. tags:
  8792. - 风险管理v3
  8793. /Erms3/QueryUserInfoApplies:
  8794. get:
  8795. parameters:
  8796. - description: 页码
  8797. in: query
  8798. name: page
  8799. type: integer
  8800. - description: 每页条数
  8801. in: query
  8802. name: pagesize
  8803. type: integer
  8804. - description: 客户名称,支持模糊查询
  8805. in: query
  8806. name: userName
  8807. type: string
  8808. produces:
  8809. - application/json
  8810. responses:
  8811. "200":
  8812. description: OK
  8813. schema:
  8814. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  8815. "500":
  8816. description: Internal Server Error
  8817. schema:
  8818. $ref: '#/definitions/app.Response'
  8819. security:
  8820. - ApiKeyAuth: []
  8821. summary: 客户申请信息查询
  8822. tags:
  8823. - 风险管理v3
  8824. /Erms3/QueryUserInfos:
  8825. get:
  8826. parameters:
  8827. - description: 页码
  8828. in: query
  8829. name: page
  8830. type: integer
  8831. - description: 每页条数
  8832. in: query
  8833. name: pagesize
  8834. type: integer
  8835. - description: 客户名称,支持模糊查询
  8836. in: query
  8837. name: userName
  8838. type: string
  8839. produces:
  8840. - application/json
  8841. responses:
  8842. "200":
  8843. description: OK
  8844. schema:
  8845. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  8846. "500":
  8847. description: Internal Server Error
  8848. schema:
  8849. $ref: '#/definitions/app.Response'
  8850. security:
  8851. - ApiKeyAuth: []
  8852. summary: 客户信息查询
  8853. tags:
  8854. - 风险管理v3
  8855. /HSBY/GetHsbyMyCount:
  8856. get:
  8857. description: 说明: 不包括已完成的数量。
  8858. parameters:
  8859. - description: 资金账户列表,格式:1,2,3
  8860. in: query
  8861. name: accountIDs
  8862. required: true
  8863. type: string
  8864. produces:
  8865. - application/json
  8866. responses:
  8867. "200":
  8868. description: OK
  8869. schema:
  8870. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  8871. "500":
  8872. description: Internal Server Error
  8873. schema:
  8874. $ref: '#/definitions/app.Response'
  8875. security:
  8876. - ApiKeyAuth: []
  8877. summary: 获取我的订单与包裹数量
  8878. tags:
  8879. - 定制【海商报业】
  8880. /HSBY/QueryClientFixedADConfigs:
  8881. get:
  8882. produces:
  8883. - application/json
  8884. responses:
  8885. "200":
  8886. description: OK
  8887. schema:
  8888. $ref: '#/definitions/models.Clientfixedadconfig'
  8889. "500":
  8890. description: Internal Server Error
  8891. schema:
  8892. $ref: '#/definitions/app.Response'
  8893. security:
  8894. - ApiKeyAuth: []
  8895. summary: 获取终端固定广告配置
  8896. tags:
  8897. - 定制【海商报业】
  8898. /HSBY/QueryHsbyBuyMyTradeDetail:
  8899. get:
  8900. parameters:
  8901. - description: 页码
  8902. in: query
  8903. name: page
  8904. type: integer
  8905. - description: 每页条数
  8906. in: query
  8907. name: pagesize
  8908. type: integer
  8909. - description: 资金账户列表,格式:1,2,3
  8910. in: query
  8911. name: accountIDs
  8912. required: true
  8913. type: string
  8914. produces:
  8915. - application/json
  8916. responses:
  8917. "200":
  8918. description: OK
  8919. schema:
  8920. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  8921. "500":
  8922. description: Internal Server Error
  8923. schema:
  8924. $ref: '#/definitions/app.Response'
  8925. security:
  8926. - ApiKeyAuth: []
  8927. summary: 查询"我的订单 - 已完成"单据信息
  8928. tags:
  8929. - 定制【海商报业】
  8930. /HSBY/QueryHsbyGoodsOrderDetails:
  8931. get:
  8932. description: 说明:查询结果已按委托价格和委托时间排序
  8933. parameters:
  8934. - description: 商品ID
  8935. in: query
  8936. name: goodsID
  8937. required: true
  8938. type: integer
  8939. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  8940. in: query
  8941. name: accountIDs
  8942. type: string
  8943. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  8944. in: query
  8945. name: buyOrSell
  8946. type: integer
  8947. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  8948. in: query
  8949. name: price
  8950. type: number
  8951. - description: 档位,不传则默认为3档
  8952. in: query
  8953. name: speed
  8954. type: integer
  8955. produces:
  8956. - application/json
  8957. responses:
  8958. "200":
  8959. description: OK
  8960. schema:
  8961. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  8962. "500":
  8963. description: Internal Server Error
  8964. schema:
  8965. $ref: '#/definitions/app.Response'
  8966. security:
  8967. - ApiKeyAuth: []
  8968. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  8969. tags:
  8970. - 定制【海商报业】
  8971. /HSBY/QueryHsbyListingGoodsDetail:
  8972. get:
  8973. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  8974. parameters:
  8975. - description: 商品ID
  8976. in: query
  8977. name: goodsID
  8978. required: true
  8979. type: integer
  8980. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  8981. in: query
  8982. name: accountID
  8983. type: integer
  8984. produces:
  8985. - application/json
  8986. responses:
  8987. "200":
  8988. description: OK
  8989. schema:
  8990. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  8991. "500":
  8992. description: Internal Server Error
  8993. schema:
  8994. $ref: '#/definitions/app.Response'
  8995. security:
  8996. - ApiKeyAuth: []
  8997. summary: 查询二级市场(挂牌点选)商品信息详情
  8998. tags:
  8999. - 定制【海商报业】
  9000. /HSBY/QueryHsbyMarketGoodsDetail:
  9001. get:
  9002. parameters:
  9003. - description: 委托单号
  9004. in: query
  9005. name: orderID
  9006. required: true
  9007. type: integer
  9008. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  9009. in: query
  9010. name: accountID
  9011. type: integer
  9012. produces:
  9013. - application/json
  9014. responses:
  9015. "200":
  9016. description: OK
  9017. schema:
  9018. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  9019. "500":
  9020. description: Internal Server Error
  9021. schema:
  9022. $ref: '#/definitions/app.Response'
  9023. security:
  9024. - ApiKeyAuth: []
  9025. summary: 查询三级市场(商城)商品信息详情
  9026. tags:
  9027. - 定制【海商报业】
  9028. /HSBY/QueryHsbyMarketGoodses:
  9029. get:
  9030. parameters:
  9031. - description: 页码
  9032. in: query
  9033. name: page
  9034. type: integer
  9035. - description: 每页条数
  9036. in: query
  9037. name: pagesize
  9038. type: integer
  9039. - description: 市场ID列表,格式:1,2,3
  9040. in: query
  9041. name: marketIDs
  9042. required: true
  9043. type: string
  9044. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  9045. in: query
  9046. name: accountID
  9047. required: true
  9048. type: integer
  9049. - description: 类别ID
  9050. in: query
  9051. name: categoryID
  9052. type: integer
  9053. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  9054. in: query
  9055. name: goodsIDs
  9056. type: string
  9057. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  9058. in: query
  9059. name: couponTypeID
  9060. type: integer
  9061. produces:
  9062. - application/json
  9063. responses:
  9064. "200":
  9065. description: OK
  9066. schema:
  9067. $ref: '#/definitions/models.HsbyMarketGoods'
  9068. "500":
  9069. description: Internal Server Error
  9070. schema:
  9071. $ref: '#/definitions/app.Response'
  9072. security:
  9073. - ApiKeyAuth: []
  9074. summary: 查询特卖商品列表(三级商城)
  9075. tags:
  9076. - 定制【海商报业】
  9077. /HSBY/QueryHsbyMarkets:
  9078. get:
  9079. produces:
  9080. - application/json
  9081. responses:
  9082. "200":
  9083. description: OK
  9084. schema:
  9085. $ref: '#/definitions/models.HsbyMarketInfo'
  9086. "500":
  9087. description: Internal Server Error
  9088. schema:
  9089. $ref: '#/definitions/app.Response'
  9090. security:
  9091. - ApiKeyAuth: []
  9092. summary: 查询海商报业相关市场信息
  9093. tags:
  9094. - 定制【海商报业】
  9095. /HSBY/QueryHsbyMyBuyOrderDetails:
  9096. get:
  9097. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  9098. parameters:
  9099. - description: 资金账户列表,格式:1,2,3
  9100. in: query
  9101. name: accountIDs
  9102. required: true
  9103. type: string
  9104. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  9105. in: query
  9106. name: myBuyStatus
  9107. type: integer
  9108. produces:
  9109. - application/json
  9110. responses:
  9111. "200":
  9112. description: OK
  9113. schema:
  9114. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  9115. "500":
  9116. description: Internal Server Error
  9117. schema:
  9118. $ref: '#/definitions/app.Response'
  9119. security:
  9120. - ApiKeyAuth: []
  9121. summary: 查询“我的订单”信息
  9122. tags:
  9123. - 定制【海商报业】
  9124. /HSBY/QueryHsbyMyGoods:
  9125. get:
  9126. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  9127. parameters:
  9128. - description: 资金账户列表,格式:1,2,3
  9129. in: query
  9130. name: accountIDs
  9131. required: true
  9132. type: string
  9133. produces:
  9134. - application/json
  9135. responses:
  9136. "200":
  9137. description: OK
  9138. schema:
  9139. $ref: '#/definitions/models.HsbyMyGoods'
  9140. "500":
  9141. description: Internal Server Error
  9142. schema:
  9143. $ref: '#/definitions/app.Response'
  9144. security:
  9145. - ApiKeyAuth: []
  9146. summary: 查询“我的商品”信息
  9147. tags:
  9148. - 定制【海商报业】
  9149. /HSBY/QueryHsbyMyPackages:
  9150. get:
  9151. parameters:
  9152. - description: 资金账户列表,格式:1,2,3
  9153. in: query
  9154. name: accountIDs
  9155. required: true
  9156. type: string
  9157. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9158. in: query
  9159. name: takeOrderStatus
  9160. type: integer
  9161. produces:
  9162. - application/json
  9163. responses:
  9164. "200":
  9165. description: OK
  9166. schema:
  9167. $ref: '#/definitions/models.HsbyMyPackage'
  9168. "500":
  9169. description: Internal Server Error
  9170. schema:
  9171. $ref: '#/definitions/app.Response'
  9172. security:
  9173. - ApiKeyAuth: []
  9174. summary: 查询我的包裹信息
  9175. tags:
  9176. - 定制【海商报业】
  9177. /HSBY/QueryHsbyPreGoodsDetail:
  9178. get:
  9179. parameters:
  9180. - description: 商品ID
  9181. in: query
  9182. name: goodsID
  9183. required: true
  9184. type: integer
  9185. - description: 资金账户,主要用于获取预售商品购买上限
  9186. in: query
  9187. name: accountID
  9188. type: integer
  9189. produces:
  9190. - application/json
  9191. responses:
  9192. "200":
  9193. description: OK
  9194. schema:
  9195. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  9196. "500":
  9197. description: Internal Server Error
  9198. schema:
  9199. $ref: '#/definitions/app.Response'
  9200. security:
  9201. - ApiKeyAuth: []
  9202. summary: 查询一级市场(预售)商品信息详情
  9203. tags:
  9204. - 定制【海商报业】
  9205. /HSBY/QueryHsbyPreGoodses:
  9206. get:
  9207. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  9208. parameters:
  9209. - description: 页码
  9210. in: query
  9211. name: page
  9212. type: integer
  9213. - description: 每页条数
  9214. in: query
  9215. name: pagesize
  9216. type: integer
  9217. - description: 市场ID列表,格式:1,2,3
  9218. in: query
  9219. name: marketIDs
  9220. required: true
  9221. type: string
  9222. - description: 目的地(省)ID
  9223. in: query
  9224. name: descProvinceID
  9225. type: integer
  9226. - description: 目的地(市)ID
  9227. in: query
  9228. name: descCityID
  9229. type: integer
  9230. produces:
  9231. - application/json
  9232. responses:
  9233. "200":
  9234. description: OK
  9235. schema:
  9236. $ref: '#/definitions/models.HsbyPreGoods'
  9237. "500":
  9238. description: Internal Server Error
  9239. schema:
  9240. $ref: '#/definitions/app.Response'
  9241. security:
  9242. - ApiKeyAuth: []
  9243. summary: 查询新品上市商品列表(一级市场预售)
  9244. tags:
  9245. - 定制【海商报业】
  9246. /HSBY/QueryHsbySellMyDetails:
  9247. get:
  9248. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  9249. parameters:
  9250. - description: 页码
  9251. in: query
  9252. name: page
  9253. type: integer
  9254. - description: 每页条数
  9255. in: query
  9256. name: pagesize
  9257. type: integer
  9258. - description: 资金账户列表,格式:1,2,3
  9259. in: query
  9260. name: accountIDs
  9261. required: true
  9262. type: string
  9263. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  9264. in: query
  9265. name: orderType
  9266. type: integer
  9267. produces:
  9268. - application/json
  9269. responses:
  9270. "200":
  9271. description: OK
  9272. schema:
  9273. $ref: '#/definitions/models.HsbySellMyDetail'
  9274. "500":
  9275. description: Internal Server Error
  9276. schema:
  9277. $ref: '#/definitions/app.Response'
  9278. security:
  9279. - ApiKeyAuth: []
  9280. summary: 查询"我的闲置"单据信息
  9281. tags:
  9282. - 定制【海商报业】
  9283. /HSBY/QueryHsbyTopGoodses:
  9284. get:
  9285. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  9286. parameters:
  9287. - description: 页码
  9288. in: query
  9289. name: page
  9290. type: integer
  9291. - description: 每页条数
  9292. in: query
  9293. name: pagesize
  9294. type: integer
  9295. - description: 市场ID列表,格式:1,2,3
  9296. in: query
  9297. name: marketIDs
  9298. required: true
  9299. type: string
  9300. - description: 目的地(省)ID
  9301. in: query
  9302. name: descProvinceID
  9303. type: integer
  9304. - description: 目的地(市)ID
  9305. in: query
  9306. name: descCityID
  9307. type: integer
  9308. produces:
  9309. - application/json
  9310. responses:
  9311. "200":
  9312. description: OK
  9313. schema:
  9314. $ref: '#/definitions/models.HsbyTopGoods'
  9315. "500":
  9316. description: Internal Server Error
  9317. schema:
  9318. $ref: '#/definitions/app.Response'
  9319. security:
  9320. - ApiKeyAuth: []
  9321. summary: 查询热卖商品列表(二级市场挂牌点选)
  9322. tags:
  9323. - 定制【海商报业】
  9324. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  9325. get:
  9326. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  9327. parameters:
  9328. - description: 商品ID
  9329. in: query
  9330. name: goodsID
  9331. required: true
  9332. type: integer
  9333. produces:
  9334. - application/json
  9335. responses:
  9336. "200":
  9337. description: OK
  9338. schema:
  9339. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  9340. "500":
  9341. description: Internal Server Error
  9342. schema:
  9343. $ref: '#/definitions/app.Response'
  9344. security:
  9345. - ApiKeyAuth: []
  9346. summary: 查询游客三级市场(商城)商品信息详情
  9347. tags:
  9348. - 定制【海商报业】
  9349. /HSBY/QueryHsbyVisitorMarketGoodses:
  9350. get:
  9351. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  9352. parameters:
  9353. - description: 页码
  9354. in: query
  9355. name: page
  9356. type: integer
  9357. - description: 每页条数
  9358. in: query
  9359. name: pagesize
  9360. type: integer
  9361. - description: 市场ID列表,格式:1,2,3
  9362. in: query
  9363. name: marketIDs
  9364. required: true
  9365. type: string
  9366. - description: 类别ID
  9367. in: query
  9368. name: categoryID
  9369. type: integer
  9370. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  9371. in: query
  9372. name: goodsIDs
  9373. type: string
  9374. produces:
  9375. - application/json
  9376. responses:
  9377. "200":
  9378. description: OK
  9379. schema:
  9380. $ref: '#/definitions/models.HsbyMarketGoods'
  9381. "500":
  9382. description: Internal Server Error
  9383. schema:
  9384. $ref: '#/definitions/app.Response'
  9385. security:
  9386. - ApiKeyAuth: []
  9387. summary: 查询游客特卖商品列表(三级商城)
  9388. tags:
  9389. - 定制【海商报业】
  9390. /HSBY/QueryMyCollectionOrders:
  9391. get:
  9392. parameters:
  9393. - description: 页码
  9394. in: query
  9395. name: page
  9396. type: integer
  9397. - description: 每页条数
  9398. in: query
  9399. name: pagesize
  9400. type: integer
  9401. - description: 资金账户,格式:1,2,3
  9402. in: query
  9403. name: accountIDs
  9404. required: true
  9405. type: string
  9406. produces:
  9407. - application/json
  9408. responses:
  9409. "200":
  9410. description: OK
  9411. schema:
  9412. $ref: '#/definitions/models.HsbySellCollectionOrder'
  9413. "500":
  9414. description: Internal Server Error
  9415. schema:
  9416. $ref: '#/definitions/app.Response'
  9417. security:
  9418. - ApiKeyAuth: []
  9419. summary: 我的闲置中收款信息查询
  9420. tags:
  9421. - 定制【海商报业】
  9422. /HSBY/QueryMyCouponHolds:
  9423. get:
  9424. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  9425. parameters:
  9426. - description: 资金账户列表,格式:1,2,3
  9427. in: query
  9428. name: accountIDs
  9429. required: true
  9430. type: string
  9431. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  9432. in: query
  9433. name: holdStatus
  9434. type: string
  9435. produces:
  9436. - application/json
  9437. responses:
  9438. "200":
  9439. description: OK
  9440. schema:
  9441. $ref: '#/definitions/models.MyCouponHold'
  9442. "500":
  9443. description: Internal Server Error
  9444. schema:
  9445. $ref: '#/definitions/app.Response'
  9446. security:
  9447. - ApiKeyAuth: []
  9448. summary: 我的优惠卷持仓查询
  9449. tags:
  9450. - 定制【海商报业】
  9451. /HSBY/QueryMyCoupons:
  9452. get:
  9453. parameters:
  9454. - description: 资金账户列表,格式:1,2,3
  9455. in: query
  9456. name: accountIDs
  9457. required: true
  9458. type: string
  9459. - description: 商品ID, 一般与sellUserID配套传入
  9460. in: query
  9461. name: goodsID
  9462. type: integer
  9463. - description: 卖方UserID
  9464. in: query
  9465. name: sellUserID
  9466. type: integer
  9467. produces:
  9468. - application/json
  9469. responses:
  9470. "200":
  9471. description: OK
  9472. schema:
  9473. $ref: '#/definitions/models.MyCoupon'
  9474. "500":
  9475. description: Internal Server Error
  9476. schema:
  9477. $ref: '#/definitions/app.Response'
  9478. security:
  9479. - ApiKeyAuth: []
  9480. summary: 我的优惠卷查询
  9481. tags:
  9482. - 定制【海商报业】
  9483. /HSBY/QueryMyPayOrders:
  9484. get:
  9485. parameters:
  9486. - description: 页码
  9487. in: query
  9488. name: page
  9489. type: integer
  9490. - description: 每页条数
  9491. in: query
  9492. name: pagesize
  9493. type: integer
  9494. - description: 资金账户列表,格式:1,2,3
  9495. in: query
  9496. name: accountIDs
  9497. required: true
  9498. type: string
  9499. - description: 买方委托单号
  9500. in: query
  9501. name: buyOrderID
  9502. type: integer
  9503. - description: 卖方委托单号
  9504. in: query
  9505. name: sellOrderID
  9506. type: integer
  9507. produces:
  9508. - application/json
  9509. responses:
  9510. "200":
  9511. description: OK
  9512. schema:
  9513. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  9514. "500":
  9515. description: Internal Server Error
  9516. schema:
  9517. $ref: '#/definitions/app.Response'
  9518. security:
  9519. - ApiKeyAuth: []
  9520. summary: 获取我的订单中待付款信息
  9521. tags:
  9522. - 定制【海商报业】
  9523. /HSBY/QueryMyUsedCoupon:
  9524. get:
  9525. parameters:
  9526. - description: 资金账户列表,格式:1,2,3
  9527. in: query
  9528. name: accountIDs
  9529. required: true
  9530. type: string
  9531. produces:
  9532. - application/json
  9533. responses:
  9534. "200":
  9535. description: OK
  9536. schema:
  9537. $ref: '#/definitions/models.MyUsedCoupon'
  9538. "500":
  9539. description: Internal Server Error
  9540. schema:
  9541. $ref: '#/definitions/app.Response'
  9542. security:
  9543. - ApiKeyAuth: []
  9544. summary: 已使用优惠卷查询
  9545. tags:
  9546. - 定制【海商报业】
  9547. /HSBY/QueryProvincesAndCities:
  9548. get:
  9549. description: 查询结果只包括二级市场商品已关连的省市信息。
  9550. parameters:
  9551. - description: 省ID
  9552. in: query
  9553. name: provinceID
  9554. type: integer
  9555. produces:
  9556. - application/json
  9557. responses:
  9558. "200":
  9559. description: OK
  9560. schema:
  9561. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  9562. "500":
  9563. description: Internal Server Error
  9564. schema:
  9565. $ref: '#/definitions/app.Response'
  9566. security:
  9567. - ApiKeyAuth: []
  9568. summary: 查询省市信息(不包括区)
  9569. tags:
  9570. - 定制【海商报业】
  9571. /HSBY/SetHsbyMyPackagesStatus:
  9572. post:
  9573. parameters:
  9574. - description: 提货单号
  9575. in: query
  9576. name: takeOrderID
  9577. required: true
  9578. type: string
  9579. - description: 资金账号
  9580. in: query
  9581. name: accountID
  9582. required: true
  9583. type: integer
  9584. produces:
  9585. - application/json
  9586. responses:
  9587. "200":
  9588. description: OK
  9589. schema:
  9590. $ref: '#/definitions/app.Response'
  9591. "500":
  9592. description: Internal Server Error
  9593. schema:
  9594. $ref: '#/definitions/app.Response'
  9595. security:
  9596. - ApiKeyAuth: []
  9597. summary: 设置我的包裹已收货状态
  9598. tags:
  9599. - 定制【海商报业】
  9600. /Market/QueryGoodsesByLoginID:
  9601. get:
  9602. parameters:
  9603. - description: 登录账号
  9604. in: query
  9605. name: loginID
  9606. required: true
  9607. type: integer
  9608. - description: 市场ID列表,格式:1,2,3
  9609. in: query
  9610. name: marketIDs
  9611. type: string
  9612. produces:
  9613. - application/json
  9614. responses:
  9615. "200":
  9616. description: OK
  9617. schema:
  9618. $ref: '#/definitions/models.Goods'
  9619. "500":
  9620. description: Internal Server Error
  9621. schema:
  9622. $ref: '#/definitions/app.Response'
  9623. security:
  9624. - ApiKeyAuth: []
  9625. summary: 获取登录账号有权限的商品信息
  9626. tags:
  9627. - 通用市场
  9628. /Market/QueryMarketRun:
  9629. get:
  9630. parameters:
  9631. - description: 市场ID,不传返回所有
  9632. in: query
  9633. name: marketID
  9634. type: integer
  9635. produces:
  9636. - application/json
  9637. responses:
  9638. "200":
  9639. description: OK
  9640. schema:
  9641. $ref: '#/definitions/models.Marketrun'
  9642. "500":
  9643. description: Internal Server Error
  9644. schema:
  9645. $ref: '#/definitions/app.Response'
  9646. security:
  9647. - ApiKeyAuth: []
  9648. summary: 查询市场运行信息
  9649. tags:
  9650. - 通用市场
  9651. /Market/QueryMarketsByLoginID:
  9652. get:
  9653. parameters:
  9654. - description: 登录账号
  9655. in: query
  9656. name: loginID
  9657. required: true
  9658. type: integer
  9659. produces:
  9660. - application/json
  9661. responses:
  9662. "200":
  9663. description: OK
  9664. schema:
  9665. $ref: '#/definitions/models.Market'
  9666. "500":
  9667. description: Internal Server Error
  9668. schema:
  9669. $ref: '#/definitions/app.Response'
  9670. security:
  9671. - ApiKeyAuth: []
  9672. summary: 获取登录账号有权限的市场信息
  9673. tags:
  9674. - 通用市场
  9675. /Order/QueryHisTradeDetail:
  9676. get:
  9677. parameters:
  9678. - description: 资金账户 - 格式:1,2,3
  9679. in: query
  9680. name: accountID
  9681. required: true
  9682. type: string
  9683. - description: 成交单号
  9684. in: query
  9685. name: tradeID
  9686. type: integer
  9687. - description: 委托单号
  9688. in: query
  9689. name: orderID
  9690. type: integer
  9691. - description: 交易模式 - 格式:1,2,3
  9692. in: query
  9693. name: tradeMode
  9694. type: string
  9695. - description: 委托单据类型
  9696. in: query
  9697. name: buildType
  9698. type: integer
  9699. - description: 成交类别 - 格式:1,2,3
  9700. in: query
  9701. name: tradeType
  9702. type: string
  9703. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  9704. in: query
  9705. name: startDate
  9706. type: string
  9707. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  9708. in: query
  9709. name: endDate
  9710. type: string
  9711. produces:
  9712. - application/json
  9713. responses:
  9714. "200":
  9715. description: OK
  9716. schema:
  9717. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  9718. "500":
  9719. description: Internal Server Error
  9720. schema:
  9721. $ref: '#/definitions/app.Response'
  9722. security:
  9723. - ApiKeyAuth: []
  9724. summary: 历史成交单查询(合约市场)
  9725. tags:
  9726. - 通用单据
  9727. /Order/QueryHisTradeOrderDetail:
  9728. get:
  9729. parameters:
  9730. - description: 资金账户 - 格式:1,2,3
  9731. in: query
  9732. name: accountID
  9733. required: true
  9734. type: string
  9735. - description: 交易模式 - 格式:1,2,3
  9736. in: query
  9737. name: tradeMode
  9738. type: string
  9739. - description: 委托状态 - 格式:1,2,3
  9740. in: query
  9741. name: orderStatus
  9742. type: string
  9743. - description: 委托单号
  9744. in: query
  9745. name: orderID
  9746. type: integer
  9747. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  9748. in: query
  9749. name: startDate
  9750. type: string
  9751. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  9752. in: query
  9753. name: endDate
  9754. type: string
  9755. produces:
  9756. - application/json
  9757. responses:
  9758. "200":
  9759. description: OK
  9760. schema:
  9761. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  9762. "500":
  9763. description: Internal Server Error
  9764. schema:
  9765. $ref: '#/definitions/app.Response'
  9766. security:
  9767. - ApiKeyAuth: []
  9768. summary: 历史委托单查询请求(合约市场)
  9769. tags:
  9770. - 通用单据
  9771. /Order/QueryTradeDetail:
  9772. get:
  9773. parameters:
  9774. - description: 资金账户 - 格式:1,2,3
  9775. in: query
  9776. name: accountID
  9777. required: true
  9778. type: string
  9779. - description: 成交单号
  9780. in: query
  9781. name: tradeID
  9782. type: integer
  9783. - description: 委托单号
  9784. in: query
  9785. name: orderID
  9786. type: integer
  9787. - description: 交易模式 - 格式:1,2,3
  9788. in: query
  9789. name: tradeMode
  9790. type: string
  9791. - description: 委托单据类型
  9792. in: query
  9793. name: buildType
  9794. type: integer
  9795. - description: 成交类别 - 格式:1,2,3
  9796. in: query
  9797. name: tradeType
  9798. type: string
  9799. produces:
  9800. - application/json
  9801. responses:
  9802. "200":
  9803. description: OK
  9804. schema:
  9805. $ref: '#/definitions/order.QueryTradeDetailRsp'
  9806. "500":
  9807. description: Internal Server Error
  9808. schema:
  9809. $ref: '#/definitions/app.Response'
  9810. security:
  9811. - ApiKeyAuth: []
  9812. summary: 成交单查询(合约市场)
  9813. tags:
  9814. - 通用单据
  9815. /Order/QueryTradeOrderDetail:
  9816. get:
  9817. parameters:
  9818. - description: 资金账户 - 格式:1,2,3
  9819. in: query
  9820. name: accountID
  9821. required: true
  9822. type: string
  9823. - description: 交易模式 - 格式:1,2,3
  9824. in: query
  9825. name: tradeMode
  9826. type: string
  9827. - description: 委托状态 - 格式:1,2,3
  9828. in: query
  9829. name: orderStatus
  9830. type: string
  9831. - description: 委托单号
  9832. in: query
  9833. name: orderID
  9834. type: integer
  9835. produces:
  9836. - application/json
  9837. responses:
  9838. "200":
  9839. description: OK
  9840. schema:
  9841. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  9842. "500":
  9843. description: Internal Server Error
  9844. schema:
  9845. $ref: '#/definitions/app.Response'
  9846. security:
  9847. - ApiKeyAuth: []
  9848. summary: 委托单查询请求(合约市场)
  9849. tags:
  9850. - 通用单据
  9851. /Order/QueryTradePosition:
  9852. get:
  9853. parameters:
  9854. - description: 资金账户 - 格式:1,2,3
  9855. in: query
  9856. name: accountID
  9857. required: true
  9858. type: string
  9859. - description: 交易模式 - 格式:1,2,3
  9860. in: query
  9861. name: tradeMode
  9862. type: string
  9863. produces:
  9864. - application/json
  9865. responses:
  9866. "200":
  9867. description: OK
  9868. schema:
  9869. $ref: '#/definitions/order.QueryTradePositionRsp'
  9870. "500":
  9871. description: Internal Server Error
  9872. schema:
  9873. $ref: '#/definitions/app.Response'
  9874. security:
  9875. - ApiKeyAuth: []
  9876. summary: 持仓汇总查询(合约市场)
  9877. tags:
  9878. - 通用单据
  9879. /Quote/QueryHistoryDatas:
  9880. get:
  9881. parameters:
  9882. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  9883. 日线 10: Tik'
  9884. in: query
  9885. name: cycleType
  9886. required: true
  9887. type: integer
  9888. - description: 商品代码
  9889. in: query
  9890. name: goodsCode
  9891. required: true
  9892. type: string
  9893. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  9894. in: query
  9895. name: startTime
  9896. type: string
  9897. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  9898. in: query
  9899. name: endTime
  9900. type: string
  9901. - description: 条数
  9902. in: query
  9903. name: count
  9904. type: integer
  9905. - description: 是否按时间顺序排序(默认为时间倒序排序)
  9906. in: query
  9907. name: isAsc
  9908. type: boolean
  9909. produces:
  9910. - application/json
  9911. responses:
  9912. "200":
  9913. description: OK
  9914. schema:
  9915. $ref: '#/definitions/quote.HistoryData'
  9916. "500":
  9917. description: Internal Server Error
  9918. schema:
  9919. $ref: '#/definitions/app.Response'
  9920. security:
  9921. - ApiKeyAuth: []
  9922. summary: 查询行情历史数据
  9923. tags:
  9924. - 行情服务
  9925. /Quote/QueryTSData:
  9926. get:
  9927. parameters:
  9928. - description: 商品代码
  9929. in: query
  9930. name: GoodsCode
  9931. required: true
  9932. type: string
  9933. produces:
  9934. - application/json
  9935. responses:
  9936. "200":
  9937. description: OK
  9938. schema:
  9939. $ref: '#/definitions/quote.QueryTSDataRsp'
  9940. "500":
  9941. description: Internal Server Error
  9942. schema:
  9943. $ref: '#/definitions/app.Response'
  9944. summary: 分时图数据查询
  9945. tags:
  9946. - 行情服务
  9947. /SZDZ/QueryConvertConfig:
  9948. get:
  9949. parameters:
  9950. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9951. 6:交易转花生米(不设置)
  9952. in: query
  9953. name: convertType
  9954. type: integer
  9955. - description: 外部商品代码[JD\PD]
  9956. in: query
  9957. name: outerGoodsCode
  9958. type: string
  9959. - description: 内部商品ID列表[交易],格式:1,2,3
  9960. in: query
  9961. name: innerGoodsIDs
  9962. type: string
  9963. produces:
  9964. - application/json
  9965. responses:
  9966. "200":
  9967. description: OK
  9968. schema:
  9969. $ref: '#/definitions/models.Szdz3convertconfig'
  9970. "500":
  9971. description: Internal Server Error
  9972. schema:
  9973. $ref: '#/definitions/app.Response'
  9974. security:
  9975. - ApiKeyAuth: []
  9976. summary: 查询交易系统转换设置
  9977. tags:
  9978. - 定制【尚志大宗】
  9979. /SZDZ/QueryConvertLog:
  9980. get:
  9981. parameters:
  9982. - description: 资金账户 - 格式:1,2,3
  9983. in: query
  9984. name: accountID
  9985. required: true
  9986. type: string
  9987. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  9988. in: query
  9989. name: startDate
  9990. type: string
  9991. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  9992. in: query
  9993. name: endDate
  9994. type: string
  9995. produces:
  9996. - application/json
  9997. responses:
  9998. "200":
  9999. description: OK
  10000. schema:
  10001. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  10002. "500":
  10003. description: Internal Server Error
  10004. schema:
  10005. $ref: '#/definitions/app.Response'
  10006. security:
  10007. - ApiKeyAuth: []
  10008. summary: 交易系统转换流水查询
  10009. tags:
  10010. - 定制【尚志大宗】
  10011. /SZDZ/QueryGoodsPickup:
  10012. get:
  10013. parameters:
  10014. - description: 资金账户 - 格式:1,2,3
  10015. in: query
  10016. name: accountID
  10017. required: true
  10018. type: string
  10019. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10020. in: query
  10021. name: takeOrderStatus
  10022. type: integer
  10023. produces:
  10024. - application/json
  10025. responses:
  10026. "200":
  10027. description: OK
  10028. schema:
  10029. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  10030. "500":
  10031. description: Internal Server Error
  10032. schema:
  10033. $ref: '#/definitions/app.Response'
  10034. security:
  10035. - ApiKeyAuth: []
  10036. summary: 商品提货单查询
  10037. tags:
  10038. - 定制【尚志大宗】
  10039. /SZDZ/QueryRecieptOrder:
  10040. get:
  10041. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  10042. parameters:
  10043. - description: 页码
  10044. in: query
  10045. name: page
  10046. type: integer
  10047. - description: 每页条数
  10048. in: query
  10049. name: pagesize
  10050. type: integer
  10051. - description: 商品ID
  10052. in: query
  10053. name: goodsID
  10054. required: true
  10055. type: integer
  10056. - description: 所属账户名称
  10057. in: query
  10058. name: accountName
  10059. type: string
  10060. - description: 市场ID
  10061. in: query
  10062. name: marketID
  10063. type: integer
  10064. - description: 方向 - 0:买 1:卖
  10065. in: query
  10066. name: buyorsell
  10067. required: true
  10068. type: integer
  10069. produces:
  10070. - application/json
  10071. responses:
  10072. "200":
  10073. description: OK
  10074. schema:
  10075. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  10076. "500":
  10077. description: Internal Server Error
  10078. schema:
  10079. $ref: '#/definitions/app.Response'
  10080. security:
  10081. - ApiKeyAuth: []
  10082. summary: 点选挂牌委托单据查询(摘牌大厅)
  10083. tags:
  10084. - 定制【尚志大宗】
  10085. /SZDZ/QuerySZDZTradePosition:
  10086. get:
  10087. parameters:
  10088. - description: 资金账户
  10089. in: query
  10090. name: accountID
  10091. required: true
  10092. type: integer
  10093. produces:
  10094. - application/json
  10095. responses:
  10096. "200":
  10097. description: OK
  10098. schema:
  10099. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  10100. "500":
  10101. description: Internal Server Error
  10102. schema:
  10103. $ref: '#/definitions/app.Response'
  10104. security:
  10105. - ApiKeyAuth: []
  10106. summary: 持仓汇总查询(尚志大宗)
  10107. tags:
  10108. - 定制【尚志大宗】
  10109. /SZDZ/SearchWhite:
  10110. get:
  10111. parameters:
  10112. - description: 用户ID
  10113. in: query
  10114. name: userID
  10115. required: true
  10116. type: integer
  10117. produces:
  10118. - application/json
  10119. responses:
  10120. "200":
  10121. description: OK
  10122. schema:
  10123. $ref: '#/definitions/models.Szdz3searchwhitelist'
  10124. "500":
  10125. description: Internal Server Error
  10126. schema:
  10127. $ref: '#/definitions/app.Response'
  10128. security:
  10129. - ApiKeyAuth: []
  10130. summary: 搜索白名单
  10131. tags:
  10132. - 定制【尚志大宗】
  10133. /Search/SearchGoodses:
  10134. get:
  10135. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  10136. parameters:
  10137. - description: 检索内容
  10138. in: query
  10139. name: content
  10140. required: true
  10141. type: string
  10142. - description: 交易模式,格式:1,2,3
  10143. in: query
  10144. name: tradeModes
  10145. type: string
  10146. produces:
  10147. - application/json
  10148. responses:
  10149. "200":
  10150. description: OK
  10151. schema:
  10152. $ref: '#/definitions/models.SearchGoods'
  10153. "500":
  10154. description: Internal Server Error
  10155. schema:
  10156. $ref: '#/definitions/app.Response'
  10157. summary: 检索商品信息
  10158. tags:
  10159. - 检索服务
  10160. /TaAccount/QueryAmountLog:
  10161. get:
  10162. parameters:
  10163. - description: 页码
  10164. in: query
  10165. name: page
  10166. type: integer
  10167. - description: 每页条数
  10168. in: query
  10169. name: pagesize
  10170. type: integer
  10171. - description: 资金账户 - 格式:1,2,3
  10172. in: query
  10173. name: accountID
  10174. required: true
  10175. type: string
  10176. - description: 资金操作类型 - 格式:1,2,3
  10177. in: query
  10178. name: OperateType
  10179. type: string
  10180. produces:
  10181. - application/json
  10182. responses:
  10183. "200":
  10184. description: OK
  10185. schema:
  10186. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  10187. "500":
  10188. description: Internal Server Error
  10189. schema:
  10190. $ref: '#/definitions/app.Response'
  10191. security:
  10192. - ApiKeyAuth: []
  10193. summary: 资金流水查询(当前)
  10194. tags:
  10195. - 资金账户
  10196. /TaAccount/QueryHisAmountLog:
  10197. get:
  10198. parameters:
  10199. - description: 页码
  10200. in: query
  10201. name: page
  10202. type: integer
  10203. - description: 每页条数
  10204. in: query
  10205. name: pagesize
  10206. type: integer
  10207. - description: 资金账户 - 格式:1,2,3
  10208. in: query
  10209. name: accountID
  10210. required: true
  10211. type: string
  10212. - description: 资金操作类型 - 格式:1,2,3
  10213. in: query
  10214. name: OperateType
  10215. type: string
  10216. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  10217. in: query
  10218. name: startDate
  10219. type: string
  10220. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  10221. in: query
  10222. name: endDate
  10223. type: string
  10224. produces:
  10225. - application/json
  10226. responses:
  10227. "200":
  10228. description: OK
  10229. schema:
  10230. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  10231. "500":
  10232. description: Internal Server Error
  10233. schema:
  10234. $ref: '#/definitions/app.Response'
  10235. security:
  10236. - ApiKeyAuth: []
  10237. summary: 资金流水查询(历史)
  10238. tags:
  10239. - 资金账户
  10240. /Trade/QueryRecieptOrder:
  10241. get:
  10242. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  10243. parameters:
  10244. - description: 页码
  10245. in: query
  10246. name: page
  10247. type: integer
  10248. - description: 每页条数
  10249. in: query
  10250. name: pagesize
  10251. type: integer
  10252. - description: 商品ID
  10253. in: query
  10254. name: goodsID
  10255. required: true
  10256. type: integer
  10257. - description: 所属账户名称
  10258. in: query
  10259. name: accountName
  10260. type: string
  10261. - description: 市场ID
  10262. in: query
  10263. name: marketID
  10264. type: integer
  10265. - description: 方向 - 0:买 1:卖
  10266. in: query
  10267. name: buyorsell
  10268. required: true
  10269. type: integer
  10270. produces:
  10271. - application/json
  10272. responses:
  10273. "200":
  10274. description: OK
  10275. schema:
  10276. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  10277. "500":
  10278. description: Internal Server Error
  10279. schema:
  10280. $ref: '#/definitions/app.Response'
  10281. security:
  10282. - ApiKeyAuth: []
  10283. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  10284. tags:
  10285. - 通用交易
  10286. /User/AddMessageBoard:
  10287. post:
  10288. parameters:
  10289. - description: 用户ID
  10290. in: query
  10291. name: userID
  10292. required: true
  10293. type: integer
  10294. - description: 留言信息
  10295. in: query
  10296. name: message
  10297. required: true
  10298. type: string
  10299. produces:
  10300. - application/json
  10301. responses:
  10302. "200":
  10303. description: OK
  10304. schema:
  10305. $ref: '#/definitions/app.Response'
  10306. "500":
  10307. description: Internal Server Error
  10308. schema:
  10309. $ref: '#/definitions/app.Response'
  10310. security:
  10311. - ApiKeyAuth: []
  10312. summary: 添加用户留言板信息
  10313. tags:
  10314. - 用户信息
  10315. /User/AddUserFavoriteGoods:
  10316. post:
  10317. parameters:
  10318. - description: 用户ID
  10319. in: query
  10320. name: userID
  10321. required: true
  10322. type: integer
  10323. - description: 商品ID
  10324. in: query
  10325. name: goodsID
  10326. required: true
  10327. type: integer
  10328. produces:
  10329. - application/json
  10330. responses:
  10331. "200":
  10332. description: OK
  10333. schema:
  10334. $ref: '#/definitions/app.Response'
  10335. "500":
  10336. description: Internal Server Error
  10337. schema:
  10338. $ref: '#/definitions/app.Response'
  10339. security:
  10340. - ApiKeyAuth: []
  10341. summary: 添加用户商品收藏信息
  10342. tags:
  10343. - 用户信息
  10344. /User/GetLoginID:
  10345. get:
  10346. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  10347. parameters:
  10348. - description: 登录代码
  10349. in: query
  10350. name: username
  10351. required: true
  10352. type: string
  10353. produces:
  10354. - application/json
  10355. responses:
  10356. "200":
  10357. description: OK
  10358. schema:
  10359. $ref: '#/definitions/app.Response'
  10360. "500":
  10361. description: Internal Server Error
  10362. schema:
  10363. $ref: '#/definitions/app.Response'
  10364. summary: 获取登录ID
  10365. tags:
  10366. - 用户信息
  10367. /User/GetUserAccount:
  10368. get:
  10369. parameters:
  10370. - description: 用户ID
  10371. in: query
  10372. name: userID
  10373. required: true
  10374. type: integer
  10375. produces:
  10376. - application/json
  10377. responses:
  10378. "200":
  10379. description: OK
  10380. schema:
  10381. $ref: '#/definitions/models.Useraccount'
  10382. "500":
  10383. description: Internal Server Error
  10384. schema:
  10385. $ref: '#/definitions/app.Response'
  10386. security:
  10387. - ApiKeyAuth: []
  10388. summary: 获取用户账号信息
  10389. tags:
  10390. - 用户信息
  10391. /User/GetUserAuthStatus:
  10392. get:
  10393. parameters:
  10394. - description: 用户ID
  10395. in: query
  10396. name: userID
  10397. required: true
  10398. type: integer
  10399. produces:
  10400. - application/json
  10401. responses:
  10402. "200":
  10403. description: OK
  10404. schema:
  10405. $ref: '#/definitions/app.Response'
  10406. "500":
  10407. description: Internal Server Error
  10408. schema:
  10409. $ref: '#/definitions/app.Response'
  10410. security:
  10411. - ApiKeyAuth: []
  10412. summary: 获取用户实名认证状态
  10413. tags:
  10414. - 用户信息
  10415. /User/QueryMessageBoard:
  10416. get:
  10417. parameters:
  10418. - description: 用户ID
  10419. in: query
  10420. name: userID
  10421. required: true
  10422. type: integer
  10423. produces:
  10424. - application/json
  10425. responses:
  10426. "200":
  10427. description: OK
  10428. schema:
  10429. $ref: '#/definitions/models.Messageboard'
  10430. "500":
  10431. description: Internal Server Error
  10432. schema:
  10433. $ref: '#/definitions/app.Response'
  10434. security:
  10435. - ApiKeyAuth: []
  10436. summary: 获取用户留言板信息
  10437. tags:
  10438. - 用户信息
  10439. /User/QueryUserFavoriteGoodses:
  10440. get:
  10441. parameters:
  10442. - description: 用户ID
  10443. in: query
  10444. name: userID
  10445. required: true
  10446. type: integer
  10447. produces:
  10448. - application/json
  10449. responses:
  10450. "200":
  10451. description: OK
  10452. schema:
  10453. $ref: '#/definitions/models.Userfavoritegoods'
  10454. "500":
  10455. description: Internal Server Error
  10456. schema:
  10457. $ref: '#/definitions/app.Response'
  10458. security:
  10459. - ApiKeyAuth: []
  10460. summary: 获取用户商品收藏信息
  10461. tags:
  10462. - 用户信息
  10463. /User/QueryUserInfo:
  10464. get:
  10465. parameters:
  10466. - description: 用户ID
  10467. in: query
  10468. name: userID
  10469. required: true
  10470. type: integer
  10471. produces:
  10472. - application/json
  10473. responses:
  10474. "200":
  10475. description: OK
  10476. schema:
  10477. $ref: '#/definitions/models.Userinfo'
  10478. "500":
  10479. description: Internal Server Error
  10480. schema:
  10481. $ref: '#/definitions/app.Response'
  10482. security:
  10483. - ApiKeyAuth: []
  10484. summary: 获取用户信息
  10485. tags:
  10486. - 用户信息
  10487. /User/QueryUserReferNum:
  10488. get:
  10489. parameters:
  10490. - description: 用户ID
  10491. in: query
  10492. name: userID
  10493. required: true
  10494. type: integer
  10495. produces:
  10496. - application/json
  10497. responses:
  10498. "200":
  10499. description: OK
  10500. schema:
  10501. $ref: '#/definitions/app.Response'
  10502. "500":
  10503. description: Internal Server Error
  10504. schema:
  10505. $ref: '#/definitions/app.Response'
  10506. summary: 获取用户邀请码
  10507. tags:
  10508. - 用户信息
  10509. /User/RemoveUserFavoriteGoods:
  10510. post:
  10511. parameters:
  10512. - description: 用户ID
  10513. in: query
  10514. name: userID
  10515. required: true
  10516. type: integer
  10517. - description: 商品ID
  10518. in: query
  10519. name: goodsID
  10520. required: true
  10521. type: integer
  10522. produces:
  10523. - application/json
  10524. responses:
  10525. "200":
  10526. description: OK
  10527. schema:
  10528. $ref: '#/definitions/app.Response'
  10529. "500":
  10530. description: Internal Server Error
  10531. schema:
  10532. $ref: '#/definitions/app.Response'
  10533. security:
  10534. - ApiKeyAuth: []
  10535. summary: 移除用户商品收藏信息
  10536. tags:
  10537. - 用户信息
  10538. /WR/GetWRCategoryInfo:
  10539. get:
  10540. produces:
  10541. - application/json
  10542. responses:
  10543. "200":
  10544. description: OK
  10545. schema:
  10546. $ref: '#/definitions/models.WRCategoryTree'
  10547. "500":
  10548. description: Internal Server Error
  10549. schema:
  10550. $ref: '#/definitions/app.Response'
  10551. summary: 获取现货分类信息
  10552. tags:
  10553. - 仓单服务
  10554. /WRTrade/GetAllDeliveryGoods:
  10555. get:
  10556. produces:
  10557. - application/json
  10558. - application/json
  10559. responses:
  10560. "200":
  10561. description: OK
  10562. schema:
  10563. $ref: '#/definitions/app.Response'
  10564. "500":
  10565. description: Internal Server Error
  10566. schema:
  10567. $ref: '#/definitions/app.Response'
  10568. security:
  10569. - ApiKeyAuth: []
  10570. - ApiKeyAuth: []
  10571. summary: 获取带仓单分类的种类信息
  10572. tags:
  10573. - 仓单贸易
  10574. - 仓单贸易
  10575. securityDefinitions:
  10576. ApiKeyAuth:
  10577. in: header
  10578. name: Authorization
  10579. type: apiKey
  10580. swagger: "2.0"